diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100755 index 000000000..0eafc8766 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contributor License Agreements + +We'd love to accept your code patches! However, before we can take them, we have to clear a couple of legal hurdles. + +- Please fill out either the individual or corporate Contributor License Agreement. + - If you are an individual writing original source code and are sure you own the intellectual property, then you'll need to sign an individual CLA available at: + + https://developers.google.com/open-source/cla/individual. + + - If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a corporate CLA available at: + + https://developers.google.com/open-source/cla/corporate. + +Follow either of the two links above to access the appropriate CLA and instructions on how to sign and return it. Once we receive the CLA, we'll add you to the official list of contributors and will be able to accept your patches. + +# Submitting Patches + +- Sign a Contributor License Agreement (see above). +- Join the appropriate product discussion forum. + - AdWords API: https://developers.google.com/adwords/api/community/ + - DFP API: https://developers.google.com/doubleclick-publishers/community + - DFA API: https://developers.google.com/doubleclick-advertisers/reporting/community +- Create an issue on the library issue tracker if there isn't one already. Use this issue to co-ordinate the changes with the library maintainer. +- Fork the library, make the changes and send a [pull request](https://help.github.com/articles/using-pull-requests). +- The library maintainer will work with you to review and apply the patch. + +# If you can't become a contributor + +If you can't become a contributor, but wish to share some code that illustrates an issue / shows how an issue may be fixed, then you can attach your changes on the issue tracker. We will use this code to troubleshoot the issue and fix it, but will not use this code in the library unless the steps to submit patches are done. diff --git a/ChangeLog.md b/ChangeLog.md index 75085d963..075b4e452 100755 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,12 @@ +### 5.7.0 + +AdWords: + - Fixed [issue #58](https://github.com/googleads/googleads-php-lib/issues/58). + - Removed support for v201402 as it is now sunset. + +DFP: + - Fixed [issue #1](https://github.com/googleads/googleads-php-lib/issues/1). + ### 5.6.0 DFP: diff --git a/examples/AdWords/v201402/AccountManagement/CreateAccount.php b/examples/AdWords/v201402/AccountManagement/CreateAccount.php deleted file mode 100755 index 87e8f355f..000000000 --- a/examples/AdWords/v201402/AccountManagement/CreateAccount.php +++ /dev/null @@ -1,86 +0,0 @@ -GetService('ManagedCustomerService', ADWORDS_VERSION); - - // Create customer. - $customer = new ManagedCustomer(); - $customer->name = 'Account #' . uniqid(); - $customer->currencyCode = 'EUR'; - $customer->dateTimeZone = 'Europe/London'; - - // Create operation. - $operation = new ManagedCustomerOperation(); - $operation->operator = 'ADD'; - $operation->operand = $customer; - - $operations = array($operation); - - // Make the mutate request. - $result = $managedCustomerService->mutate($operations); - - // Display result. - $customer = $result->value[0]; - printf("Account with customer ID '%s' was created.\n", - $customer->customerId); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - CreateAccountExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AccountManagement/GetAccountAlerts.php b/examples/AdWords/v201402/AccountManagement/GetAccountAlerts.php deleted file mode 100755 index 69e1d8fb7..000000000 --- a/examples/AdWords/v201402/AccountManagement/GetAccountAlerts.php +++ /dev/null @@ -1,103 +0,0 @@ -GetService('AlertService', ADWORDS_VERSION); - - // Create alert query. - $alertQuery = new AlertQuery(); - $alertQuery->clientSpec = 'ALL'; - $alertQuery->filterSpec = 'ALL'; - $alertQuery->types = array('ACCOUNT_BUDGET_BURN_RATE','ACCOUNT_BUDGET_ENDING', - 'ACCOUNT_ON_TARGET','CAMPAIGN_ENDED','CAMPAIGN_ENDING', - 'CREDIT_CARD_EXPIRING','DECLINED_PAYMENT', - 'MANAGER_LINK_PENDING','MISSING_BANK_REFERENCE_NUMBER', - 'PAYMENT_NOT_ENTERED','TV_ACCOUNT_BUDGET_ENDING','TV_ACCOUNT_ON_TARGET', - 'TV_ZERO_DAILY_SPENDING_LIMIT','USER_INVITE_ACCEPTED', - 'USER_INVITE_PENDING','ZERO_DAILY_SPENDING_LIMIT'); - $alertQuery->severities = array('GREEN', 'YELLOW', 'RED'); - $alertQuery->triggerTimeSpec = 'ALL_TIME'; - - // Create selector. - $selector = new AlertSelector(); - $selector->query = $alertQuery; - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $alertService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $alert) { - printf("Alert of type '%s' and severity '%s' for account '%d' was " - . "found.\n", $alert->alertType, $alert->alertSeverity, - $alert->clientCustomerId); - } - } else { - print "No alerts were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAccountAlertsExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AccountManagement/GetAccountChanges.php b/examples/AdWords/v201402/AccountManagement/GetAccountChanges.php deleted file mode 100755 index 0d983ee7c..000000000 --- a/examples/AdWords/v201402/AccountManagement/GetAccountChanges.php +++ /dev/null @@ -1,148 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - $customerSyncService = $user->GetService('CustomerSyncService', ADWORDS_VERSION); - - // Get an array of all campaign ids. - $campaignIds = array(); - $selector = new Selector(); - $selector->fields = array('Id'); - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - do { - $page = $campaignService->get($selector); - if (isset($page->entries)) { - foreach ($page->entries as $campaign) { - $campaignIds[] = $campaign->id; - } - } - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); - - // Set the date time range, from 24 hours ago until now. - $dateTimeRange = new DateTimeRange(); - $dateTimeRange->min = date('Ymd his', strtotime('-1 day')); - $dateTimeRange->max = date('Ymd his'); - - // Create selector. - $selector = new CustomerSyncSelector(); - $selector->dateTimeRange = $dateTimeRange; - $selector->campaignIds = $campaignIds; - - // Make the get request. - $accountChanges = $customerSyncService->get($selector); - - // Display results. - if (isset($accountChanges)) { - printf("Most recent change: %s\n", $accountChanges->lastChangeTimestamp); - if (isset($accountChanges->changedCampaigns)) { - foreach ($accountChanges->changedCampaigns as $campaignChangeData) { - printf("Campaign with id '%.0f' has change status '%s'.\n", - $campaignChangeData->campaignId, - $campaignChangeData->campaignChangeStatus); - if ($campaignChangeData->campaignChangeStatus != 'NEW') { - printf("\tAdded ad extensions: %s\n", - ArrayToString($campaignChangeData->addedAdExtensions)); - printf("\tDeleted ad extensions: %s\n", - ArrayToString($campaignChangeData->deletedAdExtensions)); - printf("\tAdded campaign criteria: %s\n", - ArrayToString($campaignChangeData->addedCampaignCriteria)); - printf("\tDeleted campaign criteria: %s\n", - ArrayToString($campaignChangeData->deletedCampaignCriteria)); - printf("\tCampaign targeting changed: %s\n", - $campaignChangeData->campaignTargetingChanged ? 'true' - : 'false'); - if (isset($campaignChangeData->changedAdGroups)) { - foreach($campaignChangeData->changedAdGroups as - $adGroupChangeData) { - printf("\tAd Group with id '%.0f' has change status '%s'.\n", - $adGroupChangeData->adGroupId, - $adGroupChangeData->adGroupChangeStatus); - if ($adGroupChangeData->adGroupChangeStatus != 'NEW') { - printf("\t\tChanged ads: %s\n", - ArrayToString($adGroupChangeData->changedAds)); - printf("\t\tChanged criteria: %s\n", - ArrayToString($adGroupChangeData->changedCriteria)); - printf("\t\tDeleted criteria: %s\n", - ArrayToString($adGroupChangeData->deletedCriteria)); - } - } - } - } - } - } - } else { - print "No changes were found.\n"; - } -} - -/** - * Converts an array of values to a comma-separated string. - * @param array $array an array of values that can be converted to a string - * @return string a comma-separated string of the values - */ -function ArrayToString($array) { - if (!isset($array)) { - return ''; - } else { - return implode(', ', $array); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAccountChangesExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AccountManagement/GetAccountHierarchy.php b/examples/AdWords/v201402/AccountManagement/GetAccountHierarchy.php deleted file mode 100755 index aed471068..000000000 --- a/examples/AdWords/v201402/AccountManagement/GetAccountHierarchy.php +++ /dev/null @@ -1,127 +0,0 @@ -GetService('ManagedCustomerService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - // Specify the fields to retrieve. - $selector->fields = array('Login', 'CustomerId', 'Name'); - - // Make the get request. - $graph = $managedCustomerService->get($selector); - - // Display serviced account graph. - if (isset($graph->entries)) { - // Create map from customerId to parent and child links. - $childLinks = array(); - $parentLinks = array(); - if (isset($graph->links)) { - foreach ($graph->links as $link) { - $childLinks[$link->managerCustomerId][] = $link; - $parentLinks[$link->clientCustomerId][] = $link; - } - } - // Create map from customerID to account, and find root account. - $accounts = array(); - $rootAccount = NULL; - foreach ($graph->entries as $account) { - $accounts[$account->customerId] = $account; - if (!array_key_exists($account->customerId, $parentLinks)) { - $rootAccount = $account; - } - } - // The root account may not be returned in the sandbox. - if (!isset($rootAccount)) { - $rootAccount = new Account(); - $rootAccount->customerId = 0; - $rootAccount->login = $user->GetEmail(); - } - // Display account tree. - print "(Customer Id, Account Name/Login)\n"; - DisplayAccountTree($rootAccount, NULL, $accounts, $childLinks, 0); - } else { - print "No serviced accounts were found.\n"; - } -} - -/** - * Displays an account tree, starting at the account and link provided, and - * recursing to all child accounts. - * @param Account $account the account to display - * @param Link $link the link used to reach this account - * @param array $accounts a map from customerId to account - * @param array $links a map from customerId to child links - * @param int $depth the depth of the current account in the tree - */ -function DisplayAccountTree($account, $link, $accounts, $links, $depth) { - print str_repeat('-', $depth * 2); - printf("%s, %s\n", $account->customerId, - !empty($link->name) ? $link->name :$account->login); - if (array_key_exists($account->customerId, $links)) { - foreach ($links[$account->customerId] as $childLink) { - $childAccount = $accounts[$childLink->clientCustomerId]; - DisplayAccountTree($childAccount, $childLink, $accounts, $links, - $depth +1); - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAccountHierarchyExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/AddAdGroupBidModifier.php b/examples/AdWords/v201402/AdvancedOperations/AddAdGroupBidModifier.php deleted file mode 100755 index d3af4c593..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/AddAdGroupBidModifier.php +++ /dev/null @@ -1,101 +0,0 @@ -GetService('AdGroupBidModifierService', - ADWORDS_VERSION); - - // Mobile criterion ID. - $criterionId = 30001; - - // Prepare to add an ad group level override. - $agBidModifier = new AdGroupBidModifier(); - $agBidModifier->adGroupId = $adGroupId; - $agBidModifier->criterion = new Platform(); - $agBidModifier->criterion->id = $criterionId; - $agBidModifier->bidModifier = $bidModifier; - - $operation = new AdGroupBidModifierOperation(); - - // Use 'ADD' to add a new modifier and 'SET' to update an existing one. A - // modifier can be removed with the 'REMOVE' operator. - $operation->operator = 'ADD'; - $operation->operand = $agBidModifier; - - $response = $bidModifierService->mutate(array($operation)); - - foreach ($response->value as $modifier) { - $value = 'none'; - if (!empty($modifier->bidModifier)) { - $value = $modifier->bidModifier; - } - printf( - 'AdGroup ID %d, Criterion ID %d was updated with ' . - "ad group level modifier: %s\n", - $modifier->adGroupId, - $modifier->criterion->id, - $value - ); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddAdGroupBidModifierExample($user, $adGroupId, $bidModifier); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/AddClickToDownloadAd.php b/examples/AdWords/v201402/AdvancedOperations/AddClickToDownloadAd.php deleted file mode 100755 index ed2e29a03..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/AddClickToDownloadAd.php +++ /dev/null @@ -1,133 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create the template ad. - $clickToDownloadAppAd = new TemplateAd(); - - $clickToDownloadAppAd->name = 'Ad for demo game'; - $clickToDownloadAppAd->templateId = 353; - $clickToDownloadAppAd->url = - 'http://play.google.com/store/apps/details?id=com.example.demogame'; - $clickToDownloadAppAd->displayUrl = 'play.google.com'; - - // Create the template elements for the ad. You can refer to - // https://developers.google.com/adwords/api/docs/appendix/templateads - // for the list of avaliable template fields. - $headline = new TemplateElementField(); - $headline->name = 'headline'; - $headline->fieldText = 'Enjoy your drive in Mars'; - $headline->type = 'TEXT'; - - $description1 = new TemplateElementField(); - $description1->name = 'description1'; - $description1->fieldText = 'Realistic physics simulation'; - $description1->type = 'TEXT'; - - $description2 = new TemplateElementField(); - $description2->name = 'description2'; - $description2->fieldText = 'Race against players online'; - $description2->type = 'TEXT'; - - $appId = new TemplateElementField(); - $appId->name = 'appId'; - $appId->fieldText = 'com.example.demogame'; - $appId->type = 'TEXT'; - - $appStore = new TemplateElementField(); - $appStore->name = 'appStore'; - $appStore->fieldText = '2'; - $appStore->type = 'ENUM'; - - $adData = new TemplateElement(); - $adData->uniqueName = 'adData'; - $adData->fields = - array($headline, $description1, $description2, $appId, $appStore); - - $clickToDownloadAppAd->templateElements = array($adData); - - // Create the adgroupad. - $clickToDownloadAppAdGroupAd = new AdGroupAd(); - $clickToDownloadAppAdGroupAd->adGroupId = $adGroupId; - $clickToDownloadAppAdGroupAd->ad = $clickToDownloadAppAd; - - // Optional: Set the status. - $clickToDownloadAppAdGroupAd->status = 'PAUSED'; - - // Create the operation. - $operation = new AdGroupAdOperation(); - $operation->operator = 'ADD'; - $operation->operand = $clickToDownloadAppAdGroupAd; - - $operations = array($operation); - - // Create the ads. - $result = $adGroupAdService->mutate($operations); - - foreach ($result->value as $adGroupAd) { - printf('New click-to-download ad with ID = %d and URL = "%s" ' . - "was created.\n", $adGroupAd->ad->id, $adGroupAd->ad->url); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddClickToDownloadAd($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/AddPlacesLocationExtensions.php b/examples/AdWords/v201402/AdvancedOperations/AddPlacesLocationExtensions.php deleted file mode 100755 index dcd945f3f..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/AddPlacesLocationExtensions.php +++ /dev/null @@ -1,184 +0,0 @@ -GetService('FeedService'); - - // Create a feed that will sync to the Google Places account specified - // by placesEmailAddress. Do not add FeedAttributes to this object, - // as AdWords will add them automatically because this will be a - // system generated feed. - $placesFeed = new Feed(); - $placesFeed->name = 'Places feed #' . uniqid(); - - $feedData = new PlacesLocationFeedData(); - $feedData->emailAddress = $placesEmailAddress; - $oAuthInfo = new OAuthInfo(); - $oAuthInfo->httpMethod = 'GET'; - $oAuthInfo->httpRequestUrl = 'https://www.google.com/local/add'; - $oAuthInfo->httpAuthorizationHeader = sprintf('Bearer %s', - $placesAccessToken); - $feedData->oAuthInfo = $oAuthInfo; - - $placesFeed->systemFeedGenerationData = $feedData; - - // Since this feed's feed items will be managed by AdWords, - // you must set its origin to ADWORDS. - $placesFeed->origin = 'ADWORDS'; - - // Create an operation to add the feed. - $feedOperation = new FeedOperation(); - $feedOperation->operand = $placesFeed; - $feedOperation->operator = 'ADD'; - - // Add the feed. Since it is a system generated feed, AdWords will - // automatically: - // 1. Set up the FeedAttributes on the feed. - // 2. Set up a FeedMapping that associates the FeedAttributes of the feed - // with the placeholder fields of the LOCATION placeholder type. - $addFeedResult = $feedService->mutate(array($feedOperation)); - $addedFeed = $addFeedResult->value[0]; - printf("Added places feed with ID %d\n", $addedFeed->id); - - $customerFeedService = $user->GetService('CustomerFeedService'); - - // Add a CustomerFeed that associates the feed with this customer for - // the LOCATION placeholder type. - $customerFeed = new CustomerFeed(); - $customerFeed->feedId = $addedFeed->id; - $customerFeed->placeholderTypes = array(PLACEHOLDER_LOCATION); - - // Create a matching function that will always evaluate to true. - $customerMatchingFunction = new FeedFunction(); - $constOperand = new ConstantOperand(); - $constOperand->type = 'BOOLEAN'; - $constOperand->booleanValue = true; - $customerMatchingFunction->lhsOperand = array($constOperand); - $customerMatchingFunction->operator = 'IDENTITY'; - $customerFeed->matchingFunction = $customerMatchingFunction; - - // Create an operation to add the customer feed. - $customerFeedOperation = new CustomerFeedOperation(); - $customerFeedOperation->operand = $customerFeed; - $customerFeedOperation->operator = 'ADD'; - - - // After the completion of the Feed ADD operation above the added feed will - // not be available for usage in a CustomerFeed until the sync between the - // AdWords and Places accounts completes. The loop below will retry adding - // the CustomerFeed up to ten times with an exponential back-off policy. - $addedCustomerFeed = NULL; - $numberOfAttempts = 0; - do { - $numberOfAttempts++; - try { - $customerFeedResult = - $customerFeedService->mutate(array($customerFeedOperation)); - $addedCustomerFeed = $customerFeedResult->value[0]; - printf("Attempt #%d to add the CustomerFeed was successful\n", - $numberOfAttempts); - } catch (Exception $e) { - // Wait using exponential backoff policy - $sleepSeconds = 5 * pow(2, $numberOfAttempts); - printf("Attempt #%d to add the CustomerFeed was not successful. " - . "Waiting %d seconds before trying again.\n", $numberOfAttempts, - $sleepSeconds); - sleep($sleepSeconds); - } - } while ($numberOfAttempts < MAX_CUSTOMER_FEED_ADD_ATTEMPTS - && $addedCustomerFeed == NULL); - - if($addedCustomerFeed == null) { - throw new Exception('Could not create the CustomerFeed after ' - . MAX_CUSTOMER_FEED_ADD_ATTEMPTS . ' attempts. Please retry ' - . 'the CustomerFeed ADD operation later.'); - } - - printf("Added CustomerFeed for feed ID %d and placeholder type %d\n", - $addedCustomerFeed->feedId, $addedCustomerFeed->placeholderTypes[0]); - - // OPTIONAL: Create a CampaignFeed to specify which FeedItems to use at the - // Campaign level. This will be similar to the CampaignFeed in the - // AddSiteLinks example, except you can also filter based on the business - // name and category of each FeedItem by using a FeedAttributeOperand in - // your matching function. - - // OPTIONAL: Create an AdGroupFeed for even more fine grained control over - // which feed items are used at the AdGroup level. - -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddPlacesLocationExtensionsExample($user, PLACES_EMAIL_ADDRESS, - PLACES_ACCESS_TOKEN); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/AddSitelinks.php b/examples/AdWords/v201402/AdvancedOperations/AddSitelinks.php deleted file mode 100755 index a3b6e549c..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/AddSitelinks.php +++ /dev/null @@ -1,337 +0,0 @@ -GetService('FeedService', ADWORDS_VERSION); - - // Create attributes. - $textAttribute = new FeedAttribute(); - $textAttribute->type = 'STRING'; - $textAttribute->name = 'Link Text'; - $urlAttribute = new FeedAttribute(); - $urlAttribute->type = 'URL'; - $urlAttribute->name = 'Link URL'; - $line1Attribute = new FeedAttribute(); - $line1Attribute->type = 'STRING'; - $line1Attribute->name = 'Line 1 Description'; - $line2Attribute = new FeedAttribute(); - $line2Attribute->type = 'STRING'; - $line2Attribute->name = 'Line 2 Description'; - - // Create the feed. - $sitelinksFeed = new Feed(); - $sitelinksFeed->name = 'Feed For Site Links'; - $sitelinksFeed->attributes = array($textAttribute, $urlAttribute, - $line1Attribute, $line2Attribute); - $sitelinksFeed->origin = 'USER'; - - // Create operation. - $operation = new FeedOperation(); - $operation->operator = 'ADD'; - $operation->operand = $sitelinksFeed; - - $operations = array($operation); - - // Add the feed. - $result = $feedService->mutate($operations); - - $savedFeed = $result->value[0]; - $sitelinksData['sitelinksFeedId'] = $savedFeed->id; - $savedAttributes = $savedFeed->attributes; - $sitelinksData['linkTextFeedAttributeId'] = $savedAttributes[0]->id; - $sitelinksData['linkUrlFeedAttributeId'] = $savedAttributes[1]->id; - $sitelinksData['line1FeedAttribute'] = $savedAttributes[2]->id; - $sitelinksData['line2FeedAttribute'] = $savedAttributes[3]->id; - - printf('Feed with name "%s" and ID %d with linkTextAttributeId %d' - . ", linkUrlAttributeId %d, line1Attribute %d and line2Attribute %d " - . "were created.\n", - $savedFeed->name, - $savedFeed->id, - $savedAttributes[0]->id, - $savedAttributes[1]->id, - $savedAttributes[2]->id, - $savedAttributes[3]->id); - - return $sitelinksData; -} - -/** - * Adds sitelinks items to the feed. - * @param AdWordsUser $user the user to run the example with - * @param map $sitelinksData IDs associated to created sitelinks feed metadata - */ -function CreateSiteLinksFeedItems(AdWordsUser $user, $sitelinksData) { - // Get the FeedItemService, which loads the required classes. - $feedItemService = $user->GetService('FeedItemService', ADWORDS_VERSION); - - // Create operations to add FeedItems. - $home = NewSiteLinkFeedItemAddOperation($sitelinksData, 'Home', - 'http://www.example.com', 'Home line 1', 'Home line 2'); - $stores = NewSiteLinkFeedItemAddOperation($sitelinksData, 'Stores', - 'http://www.example.com/stores', 'Stores line 1', 'Stores line 2'); - $onSale = NewSiteLinkFeedItemAddOperation($sitelinksData, 'On Sale', - 'http://www.example.com/sale', 'On Sale line 1', 'On Sale line 2'); - $support = NewSiteLinkFeedItemAddOperation($sitelinksData, 'Support', - 'http://www.example.com/support', 'Support line 1', 'Support line 2'); - $products = NewSiteLinkFeedItemAddOperation($sitelinksData, 'Products', - 'http://www.example.com/products', 'Products line 1', 'Products line 2'); - $aboutUs = NewSiteLinkFeedItemAddOperation($sitelinksData, 'About Us', - 'http://www.example.com/about', 'About Us line 1', 'About Us line 2'); - - $operations = array($home, $stores, $onSale, $support, $products, $aboutUs); - - $result = $feedItemService->mutate($operations); - $sitelinksData['siteLinkFeedItemIds'] = array(); - - foreach ($result->value as $feedItem) { - printf("FeedItem with feedItemId %d was added.\n", $feedItem->feedItemId); - $sitelinksData['siteLinkFeedItemIds'][] = $feedItem->feedItemId; - } - - return $sitelinksData; -} - -// See the Placeholder reference page for a list of all the placeholder types and fields. -// https://developers.google.com/adwords/api/docs/appendix/placeholders.html -define('PLACEHOLDER_SITELINKS', 1); -define('PLACEHOLDER_FIELD_SITELINK_LINK_TEXT', 1); -define('PLACEHOLDER_FIELD_SITELINK_URL', 2); -define('PLACEHOLDER_FIELD_LINE_1_TEXT', 3); -define('PLACEHOLDER_FIELD_LINE_2_TEXT', 4); - -/** - * Maps the feed attributes to the sitelink placeholders. - * @param AdWordsUser $user the user to run the example with - * @param map $sitelinksData IDs associated to created sitelinks feed metadata - */ -function CreateSiteLinksFeedMapping(AdWordsUser $user, $sitelinksData) { - // Get the FeedMappingService, which loads the required classes. - $feedMappingService = $user->GetService('FeedMappingService', - ADWORDS_VERSION); - - // Map the FeedAttributeIds to the fieldId constants. - $linkTextFieldMapping = new AttributeFieldMapping(); - $linkTextFieldMapping->feedAttributeId = - $sitelinksData['linkTextFeedAttributeId']; - $linkTextFieldMapping->fieldId = PLACEHOLDER_FIELD_SITELINK_LINK_TEXT; - $linkUrlFieldMapping = new AttributeFieldMapping(); - $linkUrlFieldMapping->feedAttributeId = - $sitelinksData['linkUrlFeedAttributeId']; - $linkUrlFieldMapping->fieldId = PLACEHOLDER_FIELD_SITELINK_URL; - $line1FieldMapping = new AttributeFieldMapping(); - $line1FieldMapping->feedAttributeId = $sitelinksData['line1FeedAttribute']; - $line1FieldMapping->fieldId = PLACEHOLDER_FIELD_LINE_1_TEXT; - $line2FieldMapping = new AttributeFieldMapping(); - $line2FieldMapping->feedAttributeId = $sitelinksData['line2FeedAttribute']; - $line2FieldMapping->fieldId = PLACEHOLDER_FIELD_LINE_2_TEXT; - - // Create the FieldMapping and operation. - $feedMapping = new FeedMapping(); - $feedMapping->placeholderType = PLACEHOLDER_SITELINKS; - $feedMapping->feedId = $sitelinksData['sitelinksFeedId']; - $feedMapping->attributeFieldMappings = - array($linkTextFieldMapping, $linkUrlFieldMapping, $line1FieldMapping, - $line2FieldMapping); - $operation = new FeedMappingOperation(); - $operation->operand = $feedMapping; - $operation->operator = 'ADD'; - - $operations = array($operation); - - // Save the field mapping. - $result = $feedMappingService->mutate($operations); - foreach ($result->value as $feedMapping) { - printf('Feed mapping with ID %d and placeholderType %d was saved for ' . - "feed with ID %d.\n", - $feedMapping->feedMappingId, - $feedMapping->placeholderType, - $feedMapping->feedId); - } -} - -/** - * Creates the CampaignFeed associated to the feed data already populated. - * @param AdWordsUser $user the user to run the example with - * @param map $sitelinksData IDs associated to created sitelinks feed metadata - * @param string $campaignId the ID of the campaign to add the sitelinks to - */ -function CreateSiteLinksCampaignFeed(AdWordsUser $user, $sitelinksData, - $campaignId) { - // Get the CampaignFeedService, which loads the required classes. - $campaignFeedService = $user->GetService('CampaignFeedService', - ADWORDS_VERSION); - - $feedFunctionRequestContextOperand = new RequestContextOperand(); - $feedFunctionRequestContextOperand->contextType = 'FEED_ITEM_ID'; - - $feedItemFunction = new FeedFunction(); - $feedItemFunction->lhsOperand = array($feedFunctionRequestContextOperand); - $feedItemFunction->operator = 'IN'; - - $operands = array(); - foreach ($sitelinksData['siteLinkFeedItemIds'] as $feedItemId) { - $constantOperand = new ConstantOperand(); - $constantOperand->longValue = $feedItemId; - $constantOperand->type = 'LONG'; - $operands[] = $constantOperand; - } - $feedItemFunction->rhsOperand = $operands; - - # Optional: to target to a platform, define a function and 'AND' it with the - # feed item ID link: - $platformRequestContextOperand = new RequestContextOperand(); - $platformRequestContextOperand->contextType = 'DEVICE_PLATFORM'; - - $platformOperand = new ConstantOperand(); - $platformOperand->type = 'STRING'; - $platformOperand->stringValue = 'Mobile'; - - $platformFunction = new FeedFunction(); - $platformFunction->operator = 'EQUALS'; - $platformFunction->lhsOperand = array($platformRequestContextOperand); - $platformFunction->rhsOperand = array($platformOperand); - - $feedItemFunctionOperand = new FunctionOperand(); - $feedItemFunctionOperand->value = $feedItemFunction; - - $platformFunctionOperand = new FunctionOperand(); - $platformFunctionOperand->value = $platformFunction; - - $combinedFunction = new FeedFunction(); - $combinedFunction->operator = 'AND'; - $combinedFunction->lhsOperand = array($feedItemFunctionOperand, - $platformFunctionOperand); - - $campaignFeed = new CampaignFeed(); - $campaignFeed->feedId = $sitelinksData['sitelinksFeedId']; - $campaignFeed->campaignId = $campaignId; - $campaignFeed->matchingFunction = $combinedFunction; - // Specifying placeholder types on the CampaignFeed allows the same feed - // to be used for different placeholders in different Campaigns. - $campaignFeed->placeholderTypes = array(PLACEHOLDER_SITELINKS); - - $operation = new CampaignFeedOperation(); - $operation->operand = $campaignFeed; - $operation->operator = 'ADD'; - - $operations = array($operation); - - $result = $campaignFeedService->mutate($operations); - foreach ($result->value as $savedCampaignFeed) { - printf("Campaign with ID %d was associated with feed with ID %d.\n", - $savedCampaignFeed->campaignId, - $savedCampaignFeed->feedId); - } -} - -/** - * Creates a SitelinkFeedItem and wraps it in an ADD operation. - * @param map $sitelinksData IDs associated to created sitelinks feed metadata - * @param string $text text of the sitelink - * @param string $url URL of the sitelink - */ -function NewSiteLinkFeedItemAddOperation($sitelinksData, $text, $url, $line1, - $line2) { - // Create the FeedItemAttributeValues for our text values. - $linkTextAttributeValue = new FeedItemAttributeValue(); - $linkTextAttributeValue->feedAttributeId = - $sitelinksData['linkTextFeedAttributeId']; - $linkTextAttributeValue->stringValue = $text; - $linkUrlAttributeValue = new FeedItemAttributeValue(); - $linkUrlAttributeValue->feedAttributeId = - $sitelinksData['linkUrlFeedAttributeId']; - $linkUrlAttributeValue->stringValue = $url; - $line1AttributeValue = new FeedItemAttributeValue(); - $line1AttributeValue->feedAttributeId = $sitelinksData['line1FeedAttribute']; - $line1AttributeValue->stringValue = $line1; - $line2AttributeValue = new FeedItemAttributeValue(); - $line2AttributeValue->feedAttributeId = $sitelinksData['line2FeedAttribute']; - $line2AttributeValue->stringValue = $line2; - - - // Create the feed item and operation. - $item = new FeedItem(); - $item->feedId = $sitelinksData['sitelinksFeedId']; - $item->attributeValues = - array($linkTextAttributeValue, $linkUrlAttributeValue, - $line1AttributeValue, $line2AttributeValue); - $operation = new FeedItemOperation(); - $operation->operand = $item; - $operation->operator = 'ADD'; - return $operation; -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddSitelinksExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/GetAdGroupBidModifiers.php b/examples/AdWords/v201402/AdvancedOperations/GetAdGroupBidModifiers.php deleted file mode 100755 index ea8fd7b40..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/GetAdGroupBidModifiers.php +++ /dev/null @@ -1,96 +0,0 @@ -GetService('AdGroupBidModifierService', - ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('CampaignId', 'AdGroupId', 'BidModifier', 'Id'); - $selector->ordering[] = new OrderBy('CampaignId', 'ASCENDING'); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $bidModifierService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $modifier) { - $value = 'none'; - if (!empty($modifier->bidModifier)) { - $value = $modifier->bidModifier; - } - printf("Campaign ID %d, AdGroup ID %d, Criterion ID %d has ad group " . - "level modifier: %s\n", - $modifier->campaignId, - $modifier->adGroupId, - $modifier->criterion->id, - $value - ); - } - } else { - print "No bid modifiers were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAdGroupBidModifiersExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/UpdateSitelinks.php b/examples/AdWords/v201402/AdvancedOperations/UpdateSitelinks.php deleted file mode 100755 index 270d778f9..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/UpdateSitelinks.php +++ /dev/null @@ -1,247 +0,0 @@ - - * + Replaces the Feed's existing FeedMapping with one that contains the new - * set of FeedItemAttributes - * - * The end result of this is that any campaign or ad group whose CampaignFeed - * or AdGroupFeed points to the Feed's ID will now serve line 1 and line 2 - * descriptions in its sitelinks. - * - * Tags: FeedItemService.mutate, FeedMappingService.mutate, FeedService.mutate - * Tags: FeedItemService.get, FeedMappingService.get, FeedService.get - * Restriction: adwords-only - * - * Copyright 2013, Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @package GoogleApiAdsAdWords - * @subpackage v201402 - * @category WebServices - * @copyright 2013, Google Inc. All Rights Reserved. - * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, - * Version 2.0 - * @author Paul Matthews - */ - -// Include the initialization file -require_once dirname(dirname(__FILE__)) . '/init.php'; - -$feedId = (int) 'INSERT_FEED_ID'; - -$feedItemDescriptions = array( - 'INSERT_FEED_ITEM_A_ID_HERE' => array( - 'INSERT_FEED_ITEM_A_LINE1_DESC_HERE', - 'INSERT_FEED_ITEM_A_LINE2_DESC_HERE', - ), - 'INSERT_FEED_ITEM_B_ID_HERE' => array( - 'INSERT_FEED_ITEM_B_LINE1_DESC_HERE', - 'INSERT_FEED_ITEM_B_LINE2_DESC_HERE', - ), -); - -/** - * Runs the example. - * @param AdWordsUser $user the user to run the example with - * @param string $feedId is the id of the feed to manipulate - * @param array $feedItemDescriptions the 2d array of feedItemId to values - */ -function UpdateSitelinksExample(AdWordsUser $user, $feedId, - $feedItemDescriptions) { - $feedService = $user->GetService('FeedService', ADWORDS_VERSION); - $feedItemService = $user->GetService('FeedItemService', ADWORDS_VERSION); - $feedMappingService = $user->GetService('FeedMappingService', - ADWORDS_VERSION); - - $selector = new Selector(); - $selector->fields = array('Id', 'Attributes'); - $selector->predicates = array(); - $selector->predicates[0] = new Predicate('Id', 'EQUALS', array($feedId)); - - $response = $feedService->get($selector); - $feed = $response->entries[0]; - - // Add new attributes to the feed. - $newAttributes = AddLine1AndLine2Attributes($feedService, $feed); - $line1Attribute = $newAttributes[0]; - $line2Attribute = $newAttributes[1]; - - // Update feed items. - UpdateFeedItems($feedItemService, $feedId, $line1Attribute, $line2Attribute, - $feedItemDescriptions); - - // Update feed mappings. - UpdateFeedMappings($feedMappingService, $feedId, $line1Attribute, - $line2Attribute, $feedItemDescriptions); -} - -/* - * Adds a FeedAttribute for line 1 and line 2 descriptions to the Feed. - * - * @param AdWordsSoapClient $feedService the feed service - * @param Feed $feed the feed to attach the attributes to - * @return array containing the created feed attributes - */ -function AddLine1AndLine2Attributes(AdWordsSoapClient $feedService, - Feed $feed) { - // This will be the starting index for the new attributes created below. - $nextAttributeIndex = count($feed->attributes); - - $line1Attribute = new FeedAttribute(); - $line1Attribute->type = 'STRING'; - $line1Attribute->name = 'Line 1 Description'; - $line2Attribute = new FeedAttribute(); - $line2Attribute->type = 'STRING'; - $line2Attribute->name = 'Line 2 Description'; - - // When adding new attributes DO NOT send existing attributes - // EVERY included attribute is to be added. - $feed->attributes = array($line1Attribute, $line2Attribute); - - $result = $feedService->mutate(array(new FeedOperation($feed, 'SET'))); - - // Get the new attributes from the mutated feed. - $mutatedFeed = $result->value[0]; - return array( - $mutatedFeed->attributes[$nextAttributeIndex], - $mutatedFeed->attributes[$nextAttributeIndex + 1], - ); -} - - -/** - * Updates FeedItems for the Feed, setting line 1 description and line 2 - * description from the contents of the feedItemDescriptions map. - * - * @param AdWordsSoapClient $feedService the feed service - * @param string $feedId the feedId to attach the items to. - * @param FeedAttribute $line1Attribute the FeedAttribute for line 1 description - * @param FeedAttribute $line2Attribute the FeedAttribute for line 2 description - * @param array $feedItemDescriptions the 2d array of feedItemId to values - */ -function UpdateFeedItems(AdWordsSoapClient $feedItemService, $feedId, - $line1Attribute, $line2Attribute, $feedItemDescriptions) { - $selector = new Selector(); - $selector->fields = array('FeedId', 'FeedItemId', 'AttributeValues'); - $selector->predicates = array(); - $selector->predicates[0] = new Predicate('FeedId', 'EQUALS', array($feedId)); - $selector->predicates[1] = new Predicate('FeedItemId', 'IN', - array_keys($feedItemDescriptions)); - - $feedItems = $feedItemService->get($selector)->entries; - - $itemOperations = array(); - foreach ($feedItems as $feedItem) { - $feedItemDescription = $feedItemDescriptions[$feedItem->feedItemId]; - - // Construct a FeedItemOperation that will set the line 1 and line 2 - // attribute values for this FeedItem. - $itemAttributeValues = array(); - $itemAttributeValues[0] = new FeedItemAttributeValue(); - $itemAttributeValues[0]->feedAttributeId = $line1Attribute->id; - $itemAttributeValues[0]->stringValue = $feedItemDescription[0]; - - $itemAttributeValues[1] = new FeedItemAttributeValue(); - $itemAttributeValues[1]->feedAttributeId = $line2Attribute->id; - $itemAttributeValues[1]->stringValue = $feedItemDescription[1]; - - $feedItem->attributeValues = $itemAttributeValues; - - $itemOperations[] = new FeedItemOperation($feedItem, 'SET'); - } - - $response = $feedItemService->mutate($itemOperations); - - printf("Updated %d items.\n", count($response->value)); -} - -/* - * See the Placeholder reference page for a list of all the placeholder types - * and fields: - * https://developers.google.com/adwords/api/docs/appendix/placeholders - */ -define('PLACEHOLDER_FIELD_LINE_1_TEXT', 3); -define('PLACEHOLDER_FIELD_LINE_2_TEXT', 4); - -/** - * Updates the FeedMapping for the Feed to include AttributeFieldMappings for - * the new line 1 and line 2 FeedAttributes. - * - * @param AdWordsSoapClient $feedMappingService the feed mapping service - * @param string $feedId the feedId to attach the items to. - * @param FeedAttribute $line1Attribute the FeedAttribute for line 1 description - * @param FeedAttribute $line2Attribute the FeedAttribute for line 2 description - */ -function UpdateFeedMappings(AdWordsSoapClient $feedMappingService, $feedId, - $line1Attribute, $line2Attribute) { - $selector = new Selector(); - $selector->fields = array('FeedId', 'FeedMappingId', 'PlaceholderType', - 'AttributeFieldMappings'); - $selector->predicates = array(); - $selector->predicates[0] = new Predicate('FeedId', 'EQUALS', array($feedId)); - $selector->predicates[1] = new Predicate('Status', 'EQUALS', array('ACTIVE')); - - $feedMapping = $feedMappingService->get($selector)->entries[0]; - - // Remove the existing mapping (FeedMapping is immutable). - $feedMapping = $feedMappingService->mutate(array( - new FeedMappingOperation($feedMapping, 'REMOVE')))->value[0]; - - // Create line 1 and line 2 attribute field mappings. - $line1FieldMapping = new AttributeFieldMapping(); - $line1FieldMapping->feedAttributeId = $line1Attribute->id; - $line1FieldMapping->fieldId = PLACEHOLDER_FIELD_LINE_1_TEXT; - - $line2FieldMapping = new AttributeFieldMapping(); - $line2FieldMapping->feedAttributeId = $line2Attribute->id; - $line2FieldMapping->fieldId = PLACEHOLDER_FIELD_LINE_2_TEXT; - - // Combine the existing field mappings with the new mappings. - $feedMapping->attributeFieldMappings = array_merge( - $feedMapping->attributeFieldMappings, - array($line1FieldMapping, $line2FieldMapping)); - - $response = $feedMappingService->mutate(array( - new FeedMappingOperation($feedMapping, 'ADD'))); - $mutatedMapping = $response->value[0]; - - printf("Updated field mappings for feedId %d and feedMappingId %d to:\n", - $mutatedMapping->feedId, $mutatedMapping->feedMappingId); - foreach ($mutatedMapping->attributeFieldMappings as $fieldMapping) { - printf(" feedAttributeId %s --> fieldId %s\n", - $fieldMapping->feedAttributeId, $fieldMapping->fieldId); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdateSitelinksExample($user, $feedId, $feedItemDescriptions); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/UploadOfflineConversions.php b/examples/AdWords/v201402/AdvancedOperations/UploadOfflineConversions.php deleted file mode 100755 index 1f1adb288..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/UploadOfflineConversions.php +++ /dev/null @@ -1,116 +0,0 @@ -GetService('ConversionTrackerService', - ADWORDS_VERSION); - $offlineConversionService = $user->GetService('OfflineConversionFeedService', - ADWORDS_VERSION); - - // Create an upload conversion. Once created, this entry will be visible - // under Tools and Analysis->Conversion and will have Source = "Import". - $uploadConversion = new UploadConversion(); - $uploadConversion->category = 'PAGE_VIEW'; - $uploadConversion->name = $conversionName; - $uploadConversion->viewthroughLookbackWindow = 30; - $uploadConversion->ctcLookbackWindow = 90; - - $uploadConversionOperation = new ConversionTrackerOperation(); - $uploadConversionOperation->operator = 'ADD'; - $uploadConversionOperation->operand = $uploadConversion; - - $uploadConversionOperations = array($uploadConversionOperation); - $result = $conversionTrackerService->mutate($uploadConversionOperations); - - $uploadConversion = $result->value[0]; - printf("New upload conversion type with name = '%s' and ID = %d was " . - "created.\n", $uploadConversion->name, $uploadConversion->id); - - // Associate offline conversions with the upload conversion we created. - $feed = new OfflineConversionFeed(); - $feed->conversionName = $conversionName; - $feed->conversionTime = $conversionTime; - $feed->conversionValue = $conversionValue; - $feed->googleClickId = $gClId; - - $offlineConversionOperation = new OfflineConversionFeedOperation(); - $offlineConversionOperation->operator = 'ADD'; - $offlineConversionOperation->operand = $feed; - - $offlineConversionOperations = array($offlineConversionOperation); - $result = $offlineConversionService->mutate($offlineConversionOperations); - - $feed = $result->value[0]; - printf('Uploaded offline conversion value of %d for Google Click ID = ' . - "'%s' to '%s'.", $feed->conversionValue, $feed->googleClickId, - $feed->conversionName); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UploadOfflineConversionsExample($user, $conversionName, $gClId, - $conversionTime, $conversionValue); -} catch (OAuth2Exception $e) { - ExampleUtils::CheckForOAuth2Errors($e); -} catch (ValidationException $e) { - ExampleUtils::CheckForOAuth2Errors($e); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/AdvancedOperations/UseSharedBiddingStrategy.php b/examples/AdWords/v201402/AdvancedOperations/UseSharedBiddingStrategy.php deleted file mode 100755 index 6cd18723e..000000000 --- a/examples/AdWords/v201402/AdvancedOperations/UseSharedBiddingStrategy.php +++ /dev/null @@ -1,191 +0,0 @@ -budgetId; - } - CreateCampaignWithBiddingStrategy($user, $biddingStrategy->id, - $sharedBudgetId); -} - -/** - * Creates the bidding strategy object. - * @param AdWordsUser $user the user to run the example with - */ -function CreateBiddingStrategy(AdWordsUser $user) { - // Get the BiddingStrategyService, which loads the required classes. - $biddingStrategyService = - $user->GetService('BiddingStrategyService', ADWORDS_VERSION); - - // Create a shared bidding strategy. - $sharedBiddingStrategy = new SharedBiddingStrategy(); - $sharedBiddingStrategy->name = "Maximize Clicks " . uniqid(); - - $biddingScheme = new TargetSpendBiddingScheme(); - // Optionally set additional bidding scheme parameters. - $biddingScheme->bidCeiling = new Money('2000000'); - $biddingScheme->spendTarget = new Money('20000000'); - - $sharedBiddingStrategy->biddingScheme = $biddingScheme; - - // Create operation. - $operation = new BiddingStrategyOperation(); - $operation->operator = 'ADD'; - $operation->operand = $sharedBiddingStrategy; - - $result = $biddingStrategyService->mutate(array($operation)); - - $newBiddingStrategy = $result->value[0]; - - printf("Shared bidding strategy with name '%s' and ID %d of type %s was " - . "created.\n", $newBiddingStrategy->name, $newBiddingStrategy->id, - $newBiddingStrategy->biddingScheme->BiddingSchemeType); - - return $newBiddingStrategy; -} - -/** - * Creates an explicit budget to be used only to create the Campaign. - * @param AdWordsUser $user the user to run the example with - */ -function CreateSharedBudget($user) { - // Get the BudgetService, which loads the required classes. - $budgetService = $user->GetService('BudgetService', ADWORDS_VERSION); - - // Create a shared budget - $budget = new Budget(); - $budget->name = "Shared Interplanetary Budget #" . uniqid(); - $budget->period = 'DAILY'; - $budget->amount = new Money(50000000); - $budget->deliveryMethod = 'STANDARD'; - $budget->isExplicitlyShared = true; - - $operations = array(); - - // Create operation. - $operation = new BudgetOperation(); - $operation->operand = $budget; - $operation->operator = 'ADD'; - $operations[] = $operation; - - // Make the mutate request. - $result = $budgetService->mutate($operations); - return $result->value[0]; -} - -/** - * Create a Campaign with a Shared Bidding Strategy. - * @param AdWordsUser $user the user to run the example with - * @param string $biddingStrategyId the bidding strategy id to use - * @param string $sharedBudgetId the shared budget id to use - */ -function CreateCampaignWithBiddingStrategy(AdWordsUser $user, - $biddingStrategyId, $sharedBudgetId) { - // Get the CampaignService, which loads the required classes. - $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); - - // Create campaign. - $campaign = new Campaign(); - $campaign->name = 'Interplanetary Cruise #' . uniqid(); - - // Set the budget. - $campaign->budget = new Budget(); - $campaign->budget->budgetId = $sharedBudgetId; - - // Set bidding strategy (required). - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->biddingStrategyId = $biddingStrategyId; - - $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - // Set keyword matching setting (required). - $keywordMatchSetting = new KeywordMatchSetting(); - $keywordMatchSetting->optIn = true; - $campaign->settings[] = $keywordMatchSetting; - - // Set network targeting (recommended). - $networkSetting = new NetworkSetting(); - $networkSetting->targetGoogleSearch = true; - $networkSetting->targetSearchNetwork = true; - $networkSetting->targetContentNetwork = true; - $campaign->networkSetting = $networkSetting; - - // Create operation. - $operation = new CampaignOperation(); - $operation->operand = $campaign; - $operation->operator = 'ADD'; - - $result = $campaignService->mutate(array($operation)); - - $newCampaign = $result->value[0]; - - printf("Campaign with name '%s', ID %d and bidding scheme ID %d was " - . "created.\n", $newCampaign->name, $newCampaign->id, - $newCampaign->biddingStrategyConfiguration->biddingStrategyId); - - return $newCampaign; -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UseSharedBiddingStrategyExample($user, $budgetId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/AddAdGroupDemographicCriteria.php b/examples/AdWords/v201402/BasicOperations/AddAdGroupDemographicCriteria.php deleted file mode 100755 index b21cf2409..000000000 --- a/examples/AdWords/v201402/BasicOperations/AddAdGroupDemographicCriteria.php +++ /dev/null @@ -1,110 +0,0 @@ -GetService('AdGroupCriterionService', - ADWORDS_VERSION); - - // Create biddable ad group criterion for gender - $genderTarget = new Gender(); - // Criterion Id for male. The IDs can be found here - // https://developers.google.com/adwords/api/docs/appendix/genders - $genderTarget->id = 10; - - $genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion(); - $genderBiddableAdGroupCriterion->adGroupId = $adGroupId; - $genderBiddableAdGroupCriterion->criterion = $genderTarget; - - // Create negative ad group criterion for age range - $ageRangeNegative = new AgeRange(); - // Criterion Id for age 18 to 24. The IDs can be found here - // https://developers.google.com/adwords/api/docs/appendix/ages - - $ageRangeNegative->id = 503001; - $ageRangeNegativeAdGroupCriterion = new NegativeAdGroupCriterion(); - $ageRangeNegativeAdGroupCriterion->adGroupId = $adGroupId; - $ageRangeNegativeAdGroupCriterion->criterion = $ageRangeNegative; - - $operations = array(); - - // Create operations. - $genderBiddableAdGroupCriterionOperation = new AdGroupCriterionOperation(); - $genderBiddableAdGroupCriterionOperation->operand = - $genderBiddableAdGroupCriterion; - $genderBiddableAdGroupCriterionOperation->operator = 'ADD'; - $operations[] = $genderBiddableAdGroupCriterionOperation; - - $ageRangeNegativeAdGroupCriterionOperation = new AdGroupCriterionOperation(); - $ageRangeNegativeAdGroupCriterionOperation->operand = - $ageRangeNegativeAdGroupCriterion; - $ageRangeNegativeAdGroupCriterionOperation->operator = 'ADD'; - $operations[] = $ageRangeNegativeAdGroupCriterionOperation; - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($operations); - - // Display results. - foreach ($result->value as $adGroupCriterion) { - printf("Ad group criterion with ad group ID '%s', criterion ID '%s' " . - "and type '%s' was added.\n", $adGroupCriterion->adGroupId, - $adGroupCriterion->criterion->id, - $adGroupCriterion->criterion->CriterionType); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddAdGroupDemographicCriteriaExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/AddAdGroups.php b/examples/AdWords/v201402/BasicOperations/AddAdGroups.php deleted file mode 100755 index 2495d6bf7..000000000 --- a/examples/AdWords/v201402/BasicOperations/AddAdGroups.php +++ /dev/null @@ -1,110 +0,0 @@ -GetService('AdGroupService', ADWORDS_VERSION); - - $numAdGroups = 2; - $operations = array(); - for ($i = 0; $i < $numAdGroups; $i++) { - // Create ad group. - $adGroup = new AdGroup(); - $adGroup->campaignId = $campaignId; - $adGroup->name = 'Earth to Mars Cruise #' . uniqid(); - - // Set bids (required). - $bid = new CpcBid(); - $bid->bid = new Money(1000000); - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->bids[] = $bid; - $adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - // Set additional settings (optional). - $adGroup->status = 'ENABLED'; - - // Targetting restriction settings - these setting only affect serving - // for the Display Network. - $targetingSetting = new TargetingSetting(); - // Restricting to serve ads that match your ad group placements. - $targetingSetting->details[] = - new TargetingSettingDetail('PLACEMENT', TRUE); - // Using your ad group verticals only for bidding. - $targetingSetting->details[] = - new TargetingSettingDetail('VERTICAL', FALSE); - $adGroup->settings[] = $targetingSetting; - - // Create operation. - $operation = new AdGroupOperation(); - $operation->operand = $adGroup; - $operation->operator = 'ADD'; - $operations[] = $operation; - } - - // Make the mutate request. - $result = $adGroupService->mutate($operations); - - // Display result. - $adGroups = $result->value; - foreach ($adGroups as $adGroup) { - printf("Ad group with name '%s' and ID '%s' was added.\n", $adGroup->name, - $adGroup->id); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddAdGroupsExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/AddCampaigns.php b/examples/AdWords/v201402/BasicOperations/AddCampaigns.php deleted file mode 100755 index 05db5ab9f..000000000 --- a/examples/AdWords/v201402/BasicOperations/AddCampaigns.php +++ /dev/null @@ -1,152 +0,0 @@ -GetService('BudgetService', ADWORDS_VERSION); - - // Create the shared budget (required). - $budget = new Budget(); - $budget->name = 'Interplanetary Cruise Budget #' . uniqid(); - $budget->period = 'DAILY'; - $budget->amount = new Money(50000000); - $budget->deliveryMethod = 'STANDARD'; - - $operations = array(); - - // Create operation. - $operation = new BudgetOperation(); - $operation->operand = $budget; - $operation->operator = 'ADD'; - $operations[] = $operation; - - // Make the mutate request. - $result = $budgetService->mutate($operations); - $budget = $result->value[0]; - - // Get the CampaignService, which loads the required classes. - $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); - - $numCampaigns = 2; - $operations = array(); - for ($i = 0; $i < $numCampaigns; $i++) { - // Create campaign. - $campaign = new Campaign(); - $campaign->name = 'Interplanetary Cruise #' . uniqid(); - $campaign->advertisingChannelType = 'SEARCH'; - - // Set shared budget (required). - $campaign->budget = new Budget(); - $campaign->budget->budgetId = $budget->budgetId; - - // Set bidding strategy (required). - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC'; - - // You can optionally provide a bidding scheme in place of the type. - $biddingScheme = new ManualCpcBiddingScheme(); - $biddingScheme->enhancedCpcEnabled = FALSE; - $biddingStrategyConfiguration->biddingScheme = $biddingScheme; - - $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - // Set keyword matching setting (required). - $keywordMatchSetting = new KeywordMatchSetting(); - $keywordMatchSetting->optIn = TRUE; - $campaign->settings[] = $keywordMatchSetting; - - // Set network targeting (optional). - $networkSetting = new NetworkSetting(); - $networkSetting->targetGoogleSearch = TRUE; - $networkSetting->targetSearchNetwork = TRUE; - $networkSetting->targetContentNetwork = TRUE; - $campaign->networkSetting = $networkSetting; - - // Set additional settings (optional). - $campaign->status = 'PAUSED'; - $campaign->startDate = date('Ymd', strtotime('+1 day')); - $campaign->endDate = date('Ymd', strtotime('+1 month')); - $campaign->adServingOptimizationStatus = 'ROTATE'; - - // Set frequency cap (optional). - $frequencyCap = new FrequencyCap(); - $frequencyCap->impressions = 5; - $frequencyCap->timeUnit = 'DAY'; - $frequencyCap->level = 'ADGROUP'; - $campaign->frequencyCap = $frequencyCap; - - // Set advanced location targeting settings (optional). - $geoTargetTypeSetting = new GeoTargetTypeSetting(); - $geoTargetTypeSetting->positiveGeoTargetType = 'DONT_CARE'; - $geoTargetTypeSetting->negativeGeoTargetType = 'DONT_CARE'; - $campaign->settings[] = $geoTargetTypeSetting; - - // Create operation. - $operation = new CampaignOperation(); - $operation->operand = $campaign; - $operation->operator = 'ADD'; - $operations[] = $operation; - } - - // Make the mutate request. - $result = $campaignService->mutate($operations); - - // Display results. - foreach ($result->value as $campaign) { - printf("Campaign with name '%s' and ID '%s' was added.\n", $campaign->name, - $campaign->id); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddCampaignsExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/AddKeywords.php b/examples/AdWords/v201402/BasicOperations/AddKeywords.php deleted file mode 100755 index 8afa50737..000000000 --- a/examples/AdWords/v201402/BasicOperations/AddKeywords.php +++ /dev/null @@ -1,110 +0,0 @@ -GetService('AdGroupCriterionService', ADWORDS_VERSION); - - $numKeywords = 5; - $operations = array(); - for ($i = 0; $i < $numKeywords; $i++) { - // Create keyword criterion. - $keyword = new Keyword(); - $keyword->text = 'mars cruise ' . uniqid(); - $keyword->matchType = 'BROAD'; - - // Create biddable ad group criterion. - $adGroupCriterion = new BiddableAdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - $adGroupCriterion->criterion = $keyword; - - // Set additional settings (optional). - $adGroupCriterion->userStatus = 'PAUSED'; - $adGroupCriterion->destinationUrl = 'http://www.example.com/mars'; - - // Set bids (optional). - $bid = new CpcBid(); - $bid->bid = new Money(500000); - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->bids[] = $bid; - $adGroupCriterion->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - $adGroupCriteria[] = $adGroupCriterion; - - // Create operation. - $operation = new AdGroupCriterionOperation(); - $operation->operand = $adGroupCriterion; - $operation->operator = 'ADD'; - $operations[] = $operation; - } - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($operations); - - // Display results. - foreach ($result->value as $adGroupCriterion) { - printf("Keyword with text '%s', match type '%s', and ID '%s' was added.\n", - $adGroupCriterion->criterion->text, - $adGroupCriterion->criterion->matchType, - $adGroupCriterion->criterion->id); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddKeywordsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/AddTextAds.php b/examples/AdWords/v201402/BasicOperations/AddTextAds.php deleted file mode 100755 index de5e92ba3..000000000 --- a/examples/AdWords/v201402/BasicOperations/AddTextAds.php +++ /dev/null @@ -1,102 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - $numAds = 5; - $operations = array(); - for ($i = 0; $i < $numAds; $i++) { - // Create text ad. - $textAd = new TextAd(); - $textAd->headline = 'Cruise #' . uniqid(); - $textAd->description1 = 'Visit the Red Planet in style.'; - $textAd->description2 = 'Low-gravity fun for everyone!'; - $textAd->displayUrl = 'www.example.com'; - $textAd->url = 'http://www.example.com'; - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroupId; - $adGroupAd->ad = $textAd; - - // Set additional settings (optional). - $adGroupAd->status = 'PAUSED'; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'ADD'; - $operations[] = $operation; - } - - // Make the mutate request. - $result = $adGroupAdService->mutate($operations); - - // Display results. - foreach ($result->value as $adGroupAd) { - printf("Text ad with headline '%s' and ID '%s' was added.\n", - $adGroupAd->ad->headline, $adGroupAd->ad->id); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddTextAdsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/DeleteAd.php b/examples/AdWords/v201402/BasicOperations/DeleteAd.php deleted file mode 100755 index 9f43549ae..000000000 --- a/examples/AdWords/v201402/BasicOperations/DeleteAd.php +++ /dev/null @@ -1,88 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create base class ad to avoid setting type specific fields. - $ad = new Ad(); - $ad->id = $adId; - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroupId; - $adGroupAd->ad = $ad; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'REMOVE'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupAdService->mutate($operations); - - // Display result. - $adGroupAd = $result->value[0]; - printf("Ad with ID '%s' was deleted.\n", $adGroupAd->ad->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - DeleteAdExample($user, $adGroupId, $adId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/DeleteAdGroup.php b/examples/AdWords/v201402/BasicOperations/DeleteAdGroup.php deleted file mode 100755 index dacc03909..000000000 --- a/examples/AdWords/v201402/BasicOperations/DeleteAdGroup.php +++ /dev/null @@ -1,82 +0,0 @@ -GetService('AdGroupService', ADWORDS_VERSION); - - // Create ad group with DELETED status. - $adGroup = new AdGroup(); - $adGroup->id = $adGroupId; - $adGroup->status = 'DELETED'; - - // Create operations. - $operation = new AdGroupOperation(); - $operation->operand = $adGroup; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupService->mutate($operations); - - // Display result. - $adGroup = $result->value[0]; - printf("Ad group with ID '%s' was deleted.\n", $adGroup->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - DeleteAdGroupExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/DeleteCampaign.php b/examples/AdWords/v201402/BasicOperations/DeleteCampaign.php deleted file mode 100755 index 85898d97a..000000000 --- a/examples/AdWords/v201402/BasicOperations/DeleteCampaign.php +++ /dev/null @@ -1,83 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - - // Create campaign with DELETED status. - $campaign = new Campaign(); - $campaign->id = $campaignId; - $campaign->status = 'DELETED'; - - // Create operations. - $operation = new CampaignOperation(); - $operation->operand = $campaign; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $campaignService->mutate($operations); - - // Display result. - $campaign = $result->value[0]; - printf("Campaign with ID '%s' was deleted.\n", $campaign->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - DeleteCampaignExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/DeleteKeyword.php b/examples/AdWords/v201402/BasicOperations/DeleteKeyword.php deleted file mode 100755 index 21785ad17..000000000 --- a/examples/AdWords/v201402/BasicOperations/DeleteKeyword.php +++ /dev/null @@ -1,92 +0,0 @@ -GetService('AdGroupCriterionService', ADWORDS_VERSION); - - // Create criterion using an existing ID. Use the base class Criterion - // instead of Keyword to avoid having to set keyword-specific fields. - $criterion = new Criterion(); - $criterion->id = $criterionId; - - // Create ad group criterion. - $adGroupCriterion = new AdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - $adGroupCriterion->criterion = new Criterion($criterionId); - - // Create operation. - $operation = new AdGroupCriterionOperation(); - $operation->operand = $adGroupCriterion; - $operation->operator = 'REMOVE'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($operations); - - // Display result. - $adGroupCriterion = $result->value[0]; - printf("Keyword with ID '%s' was deleted.\n", - $adGroupCriterion->criterion->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - DeleteKeywordExample($user, $adGroupId, $criterionId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/GetAdGroups.php b/examples/AdWords/v201402/BasicOperations/GetAdGroups.php deleted file mode 100755 index 01cb31f80..000000000 --- a/examples/AdWords/v201402/BasicOperations/GetAdGroups.php +++ /dev/null @@ -1,94 +0,0 @@ -GetService('AdGroupService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Id', 'Name'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); - - // Create predicates. - $selector->predicates[] = - new Predicate('CampaignId', 'IN', array($campaignId)); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $adGroupService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $adGroup) { - printf("Ad group with name '%s' and ID '%s' was found.\n", - $adGroup->name, $adGroup->id); - } - } else { - print "No ad groups were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAdGroupsExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/GetCampaigns.php b/examples/AdWords/v201402/BasicOperations/GetCampaigns.php deleted file mode 100755 index e6dee13ad..000000000 --- a/examples/AdWords/v201402/BasicOperations/GetCampaigns.php +++ /dev/null @@ -1,87 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Id', 'Name'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $campaignService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $campaign) { - printf("Campaign with name '%s' and ID '%s' was found.\n", - $campaign->name, $campaign->id); - } - } else { - print "No campaigns were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetCampaignsExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/GetCampaignsWithAwql.php b/examples/AdWords/v201402/BasicOperations/GetCampaignsWithAwql.php deleted file mode 100755 index 0c2001da1..000000000 --- a/examples/AdWords/v201402/BasicOperations/GetCampaignsWithAwql.php +++ /dev/null @@ -1,86 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - - // Create AWQL query. - $query = 'SELECT Id, Name, Status ORDER BY Name'; - - // Create paging controls. - $offset = 0; - - do { - $pageQuery = sprintf('%s LIMIT %d,%d', $query, $offset, - AdWordsConstants::RECOMMENDED_PAGE_SIZE); - // Make the query request. - $page = $campaignService->query($pageQuery); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $campaign) { - printf("Campaign with name '%s' and ID '%s' was found.\n", - $campaign->name, $campaign->id); - } - } else { - print "No campaigns were found.\n"; - } - - // Advance the paging offset. - $offset += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $offset); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetCampaignsWithAwqlExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/GetKeywords.php b/examples/AdWords/v201402/BasicOperations/GetKeywords.php deleted file mode 100755 index a0d04a05f..000000000 --- a/examples/AdWords/v201402/BasicOperations/GetKeywords.php +++ /dev/null @@ -1,99 +0,0 @@ -GetService('AdGroupCriterionService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('KeywordText', 'KeywordMatchType', 'Id'); - $selector->ordering[] = new OrderBy('KeywordText', 'ASCENDING'); - - // Create predicates. - $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); - $selector->predicates[] = - new Predicate('CriteriaType', 'IN', array('KEYWORD')); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $adGroupCriterionService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $adGroupCriterion) { - printf("Keyword with text '%s', match type '%s', and ID '%s' was " - . "found.\n", $adGroupCriterion->criterion->text, - $adGroupCriterion->criterion->matchType, - $adGroupCriterion->criterion->id); - } - } else { - print "No keywords were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetKeywordsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/GetTextAds.php b/examples/AdWords/v201402/BasicOperations/GetTextAds.php deleted file mode 100755 index 7ed657f21..000000000 --- a/examples/AdWords/v201402/BasicOperations/GetTextAds.php +++ /dev/null @@ -1,99 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Headline', 'Id'); - $selector->ordering[] = new OrderBy('Headline', 'ASCENDING'); - - // Create predicates. - $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); - $selector->predicates[] = new Predicate('AdType', 'IN', array('TEXT_AD')); - // By default disabled ads aren't returned by the selector. To return them - // include the DISABLED status in a predicate. - $selector->predicates[] = - new Predicate('Status', 'IN', array('ENABLED', 'PAUSED', 'DISABLED')); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $adGroupAdService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $adGroupAd) { - printf("Text ad with headline '%s' and ID '%s' was found.\n", - $adGroupAd->ad->headline, $adGroupAd->ad->id); - } - } else { - print "No text ads were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetTextAdsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/PauseAd.php b/examples/AdWords/v201402/BasicOperations/PauseAd.php deleted file mode 100755 index 1032bcf7f..000000000 --- a/examples/AdWords/v201402/BasicOperations/PauseAd.php +++ /dev/null @@ -1,93 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create ad using an existing ID. Use the base class Ad instead of TextAd to - // avoid having to set ad-specific fields. - $ad = new Ad(); - $ad->id = $adId; - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroupId; - $adGroupAd->ad = $ad; - - // Update the status. - $adGroupAd->status = 'PAUSED'; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupAdService->mutate($operations); - - // Display result. - $adGroupAd = $result->value[0]; - printf("Ad of type '%s' with ID '%s' has updated status '%s'.\n", - $adGroupAd->ad->AdType, $adGroupAd->ad->id, $adGroupAd->status); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - PauseAdExample($user, $adGroupId, $adId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/UpdateAdGroup.php b/examples/AdWords/v201402/BasicOperations/UpdateAdGroup.php deleted file mode 100755 index be4d61133..000000000 --- a/examples/AdWords/v201402/BasicOperations/UpdateAdGroup.php +++ /dev/null @@ -1,92 +0,0 @@ -GetService('AdGroupService', ADWORDS_VERSION); - - // Create ad group using an existing ID. - $adGroup = new AdGroup(); - $adGroup->id = $adGroupId; - - // Update the bid. - $bid = new CpcBid(); - $bid->bid = new Money(0.75 * AdWordsConstants::MICROS_PER_DOLLAR); - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->bids[] = $bid; - $adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - // Create operation. - $operation = new AdGroupOperation(); - $operation->operand = $adGroup; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupService->mutate($operations); - - // Display result. - $adGroup = $result->value[0]; - printf("Ad group with ID '%s' has updated default bid '$%s'.\n", $adGroup->id, - $adGroup->biddingStrategyConfiguration->bids[0]->bid->microAmount / - AdWordsConstants::MICROS_PER_DOLLAR); - -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdateAdGroupExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/UpdateCampaign.php b/examples/AdWords/v201402/BasicOperations/UpdateCampaign.php deleted file mode 100755 index 8a59ba373..000000000 --- a/examples/AdWords/v201402/BasicOperations/UpdateCampaign.php +++ /dev/null @@ -1,84 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - - // Create campaign using an existing ID. - $campaign = new Campaign(); - $campaign->id = $campaignId; - $campaign->status = 'PAUSED'; - - // Create operation. - $operation = new CampaignOperation(); - $operation->operand = $campaign; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $campaignService->mutate($operations); - - // Display result. - $campaign = $result->value[0]; - printf("Campaign with ID '%s' was paused.\n", $campaign->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdateCampaignExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/BasicOperations/UpdateKeyword.php b/examples/AdWords/v201402/BasicOperations/UpdateKeyword.php deleted file mode 100755 index 962478a44..000000000 --- a/examples/AdWords/v201402/BasicOperations/UpdateKeyword.php +++ /dev/null @@ -1,93 +0,0 @@ -GetService('AdGroupCriterionService', ADWORDS_VERSION); - - // Create ad group criterion. - $adGroupCriterion = new BiddableAdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - // Create criterion using an existing ID. Use the base class Criterion - // instead of Keyword to avoid having to set keyword-specific fields. - $adGroupCriterion->criterion = new Criterion($criterionId); - - // Update destination URL. - $adGroupCriterion->destinationUrl = 'http://www.example.com/new'; - - // Create operation. - $operation = new AdGroupCriterionOperation(); - $operation->operand = $adGroupCriterion; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($operations); - - // Display result. - $adGroupCriterion = $result->value[0]; - printf("Keyword with ID '%s' has updated destination URL '%s'.\n", - $adGroupCriterion->criterion->id, $adGroupCriterion->destinationUrl); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdateKeywordExample($user, $adGroupId, $criterionId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/AddExperiment.php b/examples/AdWords/v201402/CampaignManagement/AddExperiment.php deleted file mode 100755 index 4b2651301..000000000 --- a/examples/AdWords/v201402/CampaignManagement/AddExperiment.php +++ /dev/null @@ -1,163 +0,0 @@ -GetService('ExperimentService', ADWORDS_VERSION); - $adGroupService = $user->GetService('AdGroupService', ADWORDS_VERSION); - $adGroupCriterionService = - $user->GetService('AdGroupCriterionService', ADWORDS_VERSION); - - // Create experiment. - $experiment = new Experiment(); - $experiment->campaignId = $campaignId; - $experiment->name = 'Interplanetary Experiment #' . uniqid(); - $experiment->queryPercentage = 10; - - // Set additional settings (optional). - $experiment->startDateTime = date('Ymd His', strtotime('+1 day')); - $experiment->endDateTime = date('Ymd His', strtotime('+1 month')); - - // Create operation. - $experimentOperation = new ExperimentOperation(); - $experimentOperation->operand = $experiment; - $experimentOperation->operator = 'ADD'; - - $experimentOperations = array($experimentOperation); - - // Make the mutate request. - $result = $experimentService->mutate($experimentOperations); - - // Display result. - $experiment = $result->value[0]; - printf ("Experiment with name '%s' and ID '%.0f' was added.\n", - $experiment->name, $experiment->id); - - // Create ad group bid multipliers to be used in the experiment. - $adGroupBidMultipliers = new ManualCPCAdGroupExperimentBidMultipliers(); - $adGroupBidMultipliers->maxCpcMultiplier = new BidMultiplier(1.5); - - // Create ad group experiment data. - $adGroupExperimentData = new AdGroupExperimentData(); - $adGroupExperimentData->experimentId = $experiment->id; - $adGroupExperimentData->experimentDeltaStatus = 'MODIFIED'; - $adGroupExperimentData->experimentBidMultipliers = $adGroupBidMultipliers; - - // Create updated ad group. - $adGroup = new AdGroup(); - $adGroup->id = $adGroupId; - $adGroup->experimentData = $adGroupExperimentData; - - // Create operation. - $adGroupOperation = new AdGroupOperation(); - $adGroupOperation->operand = $adGroup; - $adGroupOperation->operator = 'SET'; - - $adGroupOperations = array($adGroupOperation); - - // Make the mutate request. - $result = $adGroupService->mutate($adGroupOperations); - - // Display result. - $adGroup = $result->value[0]; - printf ("Ad group with name '%s' and ID '%.0f' was updated in the " - . "experiment.\n", $adGroup->name, $adGroup->id); - - // Create experiment data for a new experiment-only keyword. - $adGroupCriterionExperimentData = - new BiddableAdGroupCriterionExperimentData(); - $adGroupCriterionExperimentData->experimentId = $experiment->id; - $adGroupCriterionExperimentData->experimentDeltaStatus = 'EXPERIMENT_ONLY'; - - // Create keyword. - $keyword = new Keyword('mars tour', 'BROAD'); - - // Create ad group criterion. - $adGroupCriterion = new BiddableAdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - $adGroupCriterion->criterion = $keyword; - $adGroupCriterion->experimentData = $adGroupCriterionExperimentData; - - // Create operation. - $adGroupCriterionOperation = new AdGroupCriterionOperation(); - $adGroupCriterionOperation->operand = $adGroupCriterion; - $adGroupCriterionOperation->operator = 'ADD'; - - $adGroupCriterionOperations = array($adGroupCriterionOperation); - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($adGroupCriterionOperations); - - // Display result. - $adGroupCriterion = $result->value[0]; - printf("Keyword with text '%s', match type '%s', and ID '%s' was added to " - . "the experiment.\n", - $adGroupCriterion->criterion->text, - $adGroupCriterion->criterion->matchType, - $adGroupCriterion->criterion->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddExperimentExample($user, $campaignId, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/AddKeywordsInBulk.php b/examples/AdWords/v201402/CampaignManagement/AddKeywordsInBulk.php deleted file mode 100755 index db0330b4c..000000000 --- a/examples/AdWords/v201402/CampaignManagement/AddKeywordsInBulk.php +++ /dev/null @@ -1,205 +0,0 @@ -GetService('MutateJobService', ADWORDS_VERSION); - - // Generate operations. - $numKeywords = 100; - $operations = array(); - for ($i = 0; $i < $numKeywords; $i++) { - $keyword = new Keyword(); - // Randomly add invalid characters to keywords. - if (rand(0, 9) == 0) { - $keyword->text = 'keyword!!!' . uniqid(); - } else { - $keyword->text = 'keyword' . uniqid(); - } - $keyword->matchType = 'BROAD'; - - $adGroupCriterion = new BiddableAdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - $adGroupCriterion->criterion = $keyword; - - $operation = new AdGroupCriterionOperation(); - $operation->operator = 'ADD'; - $operation->operand = $adGroupCriterion; - $operations[] = $operation; - } - - // You can specify up to 3 job IDs that must successfully complete before - // this job can be processed. We won't set any in this example. - $policy = new BulkMutateJobPolicy(); - $policy->prerequisiteJobIds = array(); - - // Call mutate to create a new job. - printf("Creating job with %d operations.\n", sizeof($operations)); - $job = $mutateJobService->mutate($operations, $policy); - printf("Job with ID '%s' was created.\n", $job->id); - - // Create a selector for retrieving the job status and later its results. - $selector = new BulkMutateJobSelector(); - $selector->jobIds[] = $job->id; - $selector->includeStats = TRUE; - $selector->includeHistory = TRUE; - - $numRetries = 0; - $maxRetries = 100; - $retryInterval = 10; - do { - sleep($retryInterval); - $jobs = $mutateJobService->get($selector); - $job = $jobs[0]; - switch ($job->status) { - case 'PENDING': - printf("The job has been pending for approximately %s.\n", - strftime('%M:%S', time() - strtotime($job->history[0]->dateTime))); - break; - case 'PROCESSING': - printf("The job is processing and approximately %d%% complete.\n", - $job->stats->progressPercent); - break; - case 'COMPLETED': - printf("The job is complete and took approximately %d seconds to " - ."process.\n", $job->stats->processingTimeMillis / 100); - break; - case 'FAILED': - printf("The job failed with reason '%s'.\n", - ChoiceUtils::GetValue($job->failureReason)); - break; - } - $numRetries++; - } while (($job->status == 'PENDING' || $job->status == 'PROCESSING') && - $numRetries < $maxRetries); - - if ($job->status == 'COMPLETED') { - // Retrieve the results of the job. - $jobResult = ChoiceUtils::GetValue( - $mutateJobService->getResult($selector)); - - // Sort the keywords into groups based on the results. - $lost = array(); - $skipped = array(); - $failed = array(); - $errors = array(); - $genericErrors = array(); - - // Examines the errors to determine which keywords failed to be applied. - foreach ($jobResult->errors as $error) { - $index = OgnlUtils::GetOperationIndex($error->fieldPath); - if (isset($index)) { - $keywordText = $operations[$index]->operand->criterion->text; - switch ($error->reason) { - case 'LOST_RESULT': - $lost[] = $keywordText; - break; - case 'UNPROCESSED_RESULT': - case 'BATCH_FAILURE': - $skipped[] = $keywordText; - break; - default: - if (!in_array($keywordText, $failed)) { - $failed[] = $keywordText; - } - $errors[$keywordText][] = $error; - } - } else { - $genericErrors[] = $error; - } - } - - // Examine the results to determine which keywords were added successfully. - $succeeded = array(); - for ($i = 0; $i < sizeof($jobResult->results); $i++) { - $operation = $operations[$i]; - $result = ChoiceUtils::GetValue($jobResult->results[$i]); - if ($result instanceof AdGroupCriterion) { - $succeeded[] = $result->criterion->text; - } - } - - // Display the results of the job. - printf("%d keywords were added successfully: %s\n", sizeof($succeeded), - implode(', ', $succeeded)); - - printf("%d keywords were skipped and should be retried: %s\n", - sizeof($skipped), implode(', ', $skipped)); - - printf("%d keywords were not added due to errors:\n", sizeof($failed)); - foreach ($failed as $keywordText) { - $errorStrings = array(); - foreach ($errors[$keywordText] as $error) { - $errorStrings[] = $error->errorString; - } - printf("- %s: %s\n", $keywordText, implode(', ', $errorStrings)); - } - - printf("%d generic errors were encountered:\n", sizeof($genericErrors)); - foreach($genericErrors as $error) { - printf("- %s\n", $error->errorString); - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddKeywordsInBulkExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/AddLocationExtension.php b/examples/AdWords/v201402/CampaignManagement/AddLocationExtension.php deleted file mode 100755 index 99d399a7d..000000000 --- a/examples/AdWords/v201402/CampaignManagement/AddLocationExtension.php +++ /dev/null @@ -1,130 +0,0 @@ -GetService('GeoLocationService', ADWORDS_VERSION); - $campaignAdExtensionService = - $user->GetService('CampaignAdExtensionService', ADWORDS_VERSION); - - // Create address. - $address = new Address(); - $address->streetAddress = '1600 Amphitheatre Parkway'; - $address->cityName = 'Mountain View'; - $address->provinceCode = 'US-CA'; - $address->postalCode = '94043'; - $address->countryCode = 'US'; - - // Create geo location selector. - $selector = new GeoLocationSelector(); - $selector->addresses = array($address); - - // Make the get request. - $result = $geoLocationService->get($selector); - - // Display result. - $geoLocation = $result[0]; - if ($geoLocation->GeoLocationType != 'InvalidGeoLocation') { - $lat = $geoLocation->geoPoint->latitudeInMicroDegrees / - AdWordsConstants::MICRO_DEGREES_PER_DEGREE; - $long = $geoLocation->geoPoint->longitudeInMicroDegrees / - AdWordsConstants::MICRO_DEGREES_PER_DEGREE; - printf("Address with street '%s' and lat/long '%s/%s' was found.\n", - $geoLocation->address->streetAddress, $lat, $long); - } else { - printf("Address with street '%s' could not be found.\n", - $address->streetAddress); - exit; - } - - // Create location extension. - $locationExtension = new LocationExtension(); - $locationExtension->address = $geoLocation->address; - $locationExtension->geoPoint = $geoLocation->geoPoint; - $locationExtension->encodedLocation = $geoLocation->encodedLocation; - $locationExtension->source = 'ADWORDS_FRONTEND'; - - // Set additional settings (optional). - $locationExtension->companyName = 'ACME Inc.'; - $locationExtension->phoneNumber = '(650) 253-0000'; - - // Create campaign ad extension. - $campaignAdExtension = new CampaignAdExtension(); - $campaignAdExtension->campaignId = $campaignId; - $campaignAdExtension->adExtension = $locationExtension; - - // Create operation. - $operation = new CampaignAdExtensionOperation(); - $operation->operand = $campaignAdExtension; - $operation->operator = 'ADD'; - - $operations = array($operation); - - // Make the mutate request. - $result = $campaignAdExtensionService->mutate($operations); - - // Display result. - $campaignAdExtension = $result->value[0]; - printf("Location extension with street address '%s' and ID '%s' was added.\n", - $campaignAdExtension->adExtension->address->streetAddress, - $campaignAdExtension->adExtension->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddLocationExtensionExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAds.php b/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAds.php deleted file mode 100755 index 44ad72eee..000000000 --- a/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAds.php +++ /dev/null @@ -1,103 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Id', 'AdGroupAdDisapprovalReasons'); - $selector->ordering = array(new OrderBy('Id', 'ASCENDING')); - - // Create predicates. - $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); - $selector->predicates[] = - new Predicate('AdGroupCreativeApprovalStatus', 'IN', - array('DISAPPROVED')); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $adGroupAdService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $adGroupAd) { - printf("Ad with ID '%.0f', and type '%s' was disapproved for the " - . "following reasons:\n", $adGroupAd->ad->id, - $adGroupAd->ad->AdType); - if (!empty($adGroupAd->disapprovalReasons)) { - foreach ($adGroupAd->disapprovalReasons as $reason) { - printf("\t'%s'\n", $reason); - } - } - } - } else { - print "No disapproved ads were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAllDisapprovedAdsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAdsWithAwql.php b/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAdsWithAwql.php deleted file mode 100755 index a604640c7..000000000 --- a/examples/AdWords/v201402/CampaignManagement/GetAllDisapprovedAdsWithAwql.php +++ /dev/null @@ -1,100 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create a query. - $query = sprintf('SELECT Id, AdGroupAdDisapprovalReasons WHERE AdGroupId = ' - . '%d AND AdGroupCreativeApprovalStatus = DISAPPROVED ORDER BY Id', - $adGroupId); - - // Create paging controls. - $offset = 0; - - do { - $pageQuery = sprintf('%s LIMIT %d,%d', $query, $offset, - AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - // Make the query request. - $page = $adGroupAdService->query($pageQuery); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $adGroupAd) { - printf("Ad with ID '%.0f', and type '%s' was disapproved for the " - . "following reasons:\n", $adGroupAd->ad->id, - $adGroupAd->ad->AdType); - if (!empty($adGroupAd->disapprovalReasons)) { - foreach ($adGroupAd->disapprovalReasons as $reason) { - printf("\t'%s'\n", $reason); - } - } - } - } else { - print "No disapproved ads were found.\n"; - } - - // Advance the paging offset. - $offset += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $offset); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAllDisapprovedAdsWithAwqlExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/PromoteExperiment.php b/examples/AdWords/v201402/CampaignManagement/PromoteExperiment.php deleted file mode 100755 index 404b07734..000000000 --- a/examples/AdWords/v201402/CampaignManagement/PromoteExperiment.php +++ /dev/null @@ -1,86 +0,0 @@ -GetService('ExperimentService', ADWORDS_VERSION); - - // Create experiment with PROMOTED status. - $experiment = new Experiment(); - $experiment->id = $experimentId; - $experiment->status = 'PROMOTED'; - - // Create operation. - $operation = new ExperimentOperation(); - $operation->operand = $experiment; - $operation->operator = 'SET'; - - $operations = array($operation); - - // Make the mutate request. - $result = $experimentService->mutate($operations); - - // Display result. - $experiment = $result->value[0]; - printf ("Experiment with name '%s' and ID '%s' was promoted.\n", - $experiment->name, $experiment->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - PromoteExperimentExample($user, $experimentId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/SetAdParameters.php b/examples/AdWords/v201402/CampaignManagement/SetAdParameters.php deleted file mode 100755 index 4ea94557a..000000000 --- a/examples/AdWords/v201402/CampaignManagement/SetAdParameters.php +++ /dev/null @@ -1,93 +0,0 @@ -GetService('AdParamService', ADWORDS_VERSION); - - // Create ad parameters. - $adParam1 = new AdParam($adGroupId, $keywordId, '100', 1); - $adParam2 = new AdParam($adGroupId, $keywordId, '$40', 2); - - // Create operations. - $operations = array(); - - $adParamOperation1 = new AdParamOperation(); - $adParamOperation1->operand = $adParam1; - $adParamOperation1->operator = 'SET'; - $operations[] = $adParamOperation1; - - $adParamOperation2 = new AdParamOperation(); - $adParamOperation2->operand = $adParam2; - $adParamOperation2->operator = 'SET'; - $operations[] = $adParamOperation2; - - // Make the mutate request. - $adParams = $adParamService->mutate($operations); - - // Display results. - foreach ($adParams as $adParam) { - printf("Ad parameter with insertion text '%s' and parameter index '%s' " - . "was set.\n", $adParam->insertionText, $adParam->paramIndex); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - SetAdParametersExample($user, $adGroupId, $keywordId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/SetBidModifier.php b/examples/AdWords/v201402/CampaignManagement/SetBidModifier.php deleted file mode 100755 index 3b04f3e3d..000000000 --- a/examples/AdWords/v201402/CampaignManagement/SetBidModifier.php +++ /dev/null @@ -1,102 +0,0 @@ -GetService("CampaignCriterionService", ADWORDS_VERSION); - - // Create Mobile Platform. The ID can be found in the documentation. - // https://developers.google.com/adwords/api/docs/appendix/platforms - $mobile = new Platform(); - $mobile->id = 30001; // HighEndMobile = 30001 - - // Create criterion with modified bid. - $criterion = new CampaignCriterion(); - $criterion->campaignId = $campaignId; - $criterion->criterion = $mobile; - $criterion->bidModifier = $bidModifier; - - // Create SET operation. - $operation = new CampaignCriterionOperation(); - $operation->operator = "SET"; - $operation->operand = $criterion; - - // Update campaign criteria. - $results = $campaignCriterionService->mutate(array($operation)); - - // Display campaign criteria. - if (count($results->value)) { - foreach ($results->value as $campaignCriterion) { - printf( - "Campaign criterion with campaign ID '%s', criterion ID '%s', " - . "and type '%s' was modified with bid %.2f.\n", - $campaignCriterion->campaignId, - $campaignCriterion->criterion->id, - $campaignCriterion->criterion->type, - $campaignCriterion->bidModifier); - } - - return true; - } - print "No campaign criterias were modified."; -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER["PHP_SELF"])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - SetBidModifierExample($user, $campaignId, $bidModifier); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/CampaignManagement/ValidateTextAd.php b/examples/AdWords/v201402/CampaignManagement/ValidateTextAd.php deleted file mode 100755 index 9e6649957..000000000 --- a/examples/AdWords/v201402/CampaignManagement/ValidateTextAd.php +++ /dev/null @@ -1,106 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION, NULL, NULL, TRUE); - - // Create invalid text ad. - $textAd = new TextAd(); - $textAd->headline = 'This headline is too long and will cause an error'; - $textAd->description1 = 'Description Line 1'; - $textAd->description2 = 'Description Line 2'; - $textAd->displayUrl = 'www.example.com'; - $textAd->url = 'http://www.example.com'; - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroupId; - $adGroupAd->ad = $textAd; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'ADD'; - - $operations = array($operation); - - // Make the mutate request. - try { - $result = $adGroupAdValidationService->mutate($operations); - printf("The text ad is valid.\n"); - } catch (SoapFault $e) { - $errors = ErrorUtils::GetApiErrors($e); - if (sizeof($errors) > 0) { - printf("The text ad is invalid for the following reasons:\n"); - foreach ($errors as $error) { - printf(" %s @ %s\n", $error->errorString, $error->fieldPath); - } - } else { - // Not an API error, so throw it up a level. - throw $e; - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - ValidateTextAdExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ErrorHandling/HandlePartialFailures.php b/examples/AdWords/v201402/ErrorHandling/HandlePartialFailures.php deleted file mode 100755 index 138daa647..000000000 --- a/examples/AdWords/v201402/ErrorHandling/HandlePartialFailures.php +++ /dev/null @@ -1,116 +0,0 @@ -GetService('AdGroupCriterionService', - ADWORDS_VERSION, NULL, NULL, NULL, TRUE); - - // Create keywords. - $keywords = array(); - $keywords[] = new Keyword('mars cruise', 'BROAD'); - $keywords[] = new Keyword('inv@lid cruise', 'BROAD'); - $keywords[] = new Keyword('venus cruise', 'BROAD'); - $keywords[] = new Keyword('b(a)d keyword cruise', 'BROAD'); - - // Create ad group criteria and operations. - $operations = array(); - foreach ($keywords as $keyword) { - $adGroupCriterion = new BiddableAdGroupCriterion(); - $adGroupCriterion->adGroupId = $adGroupId; - $adGroupCriterion->criterion = $keyword; - - $operation = new AdGroupCriterionOperation(); - $operation->operand = $adGroupCriterion; - $operation->operator = 'ADD'; - - $operations[] = $operation; - } - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($operations); - - // Display results. - foreach ($result->value as $adGroupCriterion) { - if ($adGroupCriterion->AdGroupCriterionType == 'BiddableAdGroupCriterion') { - printf("Keyword with text '%s', match type '%s', and ID '%s' was " - . "added.\n", $adGroupCriterion->criterion->text, - $adGroupCriterion->criterion->matchType, - $adGroupCriterion->criterion->id); - } - } - - // Check for partial failures. - if (isset($result->partialFailureErrors)) { - foreach ($result->partialFailureErrors as $error) { - $index = ErrorUtils::GetSourceOperationIndex($error); - if (isset($index)) { - $adGroupCriterion = $operations[$index]->operand; - printf("Keyword with text '%s' and match type '%s' failed with error " - . "'%s'.\n", $adGroupCriterion->criterion->text, - $adGroupCriterion->criterion->matchType, $error->errorString); - } else { - printf("Operations failed with error '%s'.\n", $error->errorString); - } - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - HandlePartialFailuresExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ErrorHandling/HandlePolicyViolationError.php b/examples/AdWords/v201402/ErrorHandling/HandlePolicyViolationError.php deleted file mode 100755 index 1cf3f8bbc..000000000 --- a/examples/AdWords/v201402/ErrorHandling/HandlePolicyViolationError.php +++ /dev/null @@ -1,146 +0,0 @@ -GetService('AdGroupAdService', ADWORDS_VERSION); - - // Get validateOnly version of the AdGroupAdService. - $adGroupAdValidationService = - $user->GetService('AdGroupAdService', ADWORDS_VERSION, NULL, NULL, TRUE); - - // Create text ad that violates an exemptable policy. This ad will only - // trigger an error in the production environment. - $textAd = new TextAd(); - $textAd->headline = 'Mars Cruise !!!'; - $textAd->description1 = 'Visit the Red Planet in style.'; - $textAd->description2 = 'Low-gravity fun for everyone!'; - $textAd->displayUrl = 'www.example.com'; - $textAd->url = 'http://www.example.com/'; - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroupId; - $adGroupAd->ad = $textAd; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'ADD'; - - $operations = array($operation); - - try { - // Make the mutate request. - $result = $adGroupAdValidationService->mutate($operations); - } catch (SoapFault $fault) { - $errors = ErrorUtils::GetApiErrors($fault); - if (sizeof($errors) == 0) { - // Not an API error, so throw fault. - throw $fault; - } - $operationIndicesToRemove = array(); - foreach ($errors as $error) { - if ($error->ApiErrorType == 'PolicyViolationError') { - $operationIndex = ErrorUtils::GetSourceOperationIndex($error); - $operation = $operations[$operationIndex]; - printf("Ad with headline '%s' violated %s policy '%s'.\n", - $operation->operand->ad->headline, - $error->isExemptable ? 'exemptable' : 'non-exemptable', - $error->externalPolicyName); - if ($error->isExemptable) { - // Add exemption request to the operation. - printf("Adding exemption request for policy name '%s' on text " - ."'%s'.\n", $error->key->policyName, $error->key->violatingText); - $operation->exemptionRequests[] = new ExemptionRequest($error->key); - } else { - // Remove non-exemptable operation. - print "Removing the operation from the request.\n"; - $operationIndicesToRemove[] = $operationIndex; - } - } else { - // Non-policy error returned, throw fault. - throw $fault; - } - } - $operationIndicesToRemove = array_unique($operationIndicesToRemove); - rsort($operationIndicesToRemove, SORT_NUMERIC); - if (sizeof($operationIndicesToRemove) > 0) { - foreach ($operationIndicesToRemove as $operationIndex) { - unset($operations[$operationIndex]); - } - } - } - - if (sizeof($operations) > 0) { - // Retry the mutate request. - $result = $adGroupAdService->mutate($operations); - - // Display results. - foreach ($result->value as $adGroupAd) { - printf("Text ad with headline '%s' and ID '%s' was added.\n", - $adGroupAd->ad->headline, $adGroupAd->ad->id); - } - } else { - print "All the operations were invalid with non-exemptable errors.\n"; - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - HandlePolicyViolationErrorExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/AddExpressBusinesses.php b/examples/AdWords/v201402/Express/AddExpressBusinesses.php deleted file mode 100755 index 2a4d6dad6..000000000 --- a/examples/AdWords/v201402/Express/AddExpressBusinesses.php +++ /dev/null @@ -1,94 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - $business1 = new ExpressBusiness(); - $business1->status = 'ACTIVE'; - $business1->name = 'Express Interplanetary Cruise #' . uniqid(); - $business1->address = new Address('1600 Amphitheatre Pkwy', null, - 'Mountain View', 'CA', null, null, 'US'); - $business1->website = 'http://www.example.com/cruise1'; - - $business2 = new ExpressBusiness(); - $business2->status = 'ACTIVE'; - $business2->name = 'Express Interplanetary Cruise #' . uniqid(); - $business2->address = new Address('1600 Amphitheatre Pkwy', null, - 'Mountain View', 'CA', null, null, 'US'); - $business2->website = 'http://www.example.com/cruise2'; - - $operations = array(); - - $operation1 = new ExpressBusinessOperation(); - $operation1->operand = $business1; - $operation1->operator = 'ADD'; - $operations[] = $operation1; - - $operation2 = new ExpressBusinessOperation(); - $operation2->operand = $business2; - $operation2->operator = 'ADD'; - $operations[] = $operation2; - - $addedBusinesses = $businessService->mutate($operations); - - foreach($addedBusinesses as $addedBusiness) { - printf("Added express business with ID %d and name '%s'\n", - $addedBusiness->id, $addedBusiness->name); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddExpressBusinessesExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/AddPromotion.php b/examples/AdWords/v201402/Express/AddPromotion.php deleted file mode 100755 index a40bbe1be..000000000 --- a/examples/AdWords/v201402/Express/AddPromotion.php +++ /dev/null @@ -1,143 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - // Get the business for the businessId. We will need its geo point - // to create a Proximity criterion for the new Promotion. - $businessSelector = new Selector(); - $businessSelector->fields = array('Id', 'GeoPoint'); - - $businessPredicate = new Predicate('Id', 'EQUALS', - array($businessId)); - $businessSelector->predicates = array($businessPredicate); - - $businessEntries = $businessService->get($businessSelector)->entries; - $business = $businessEntries[0]; - - // PromotionService requires the businessId on the user. - $user->SetExpressBusinessId($businessId); - - // Get the promotion service. - $promotionService = $user->GetService('PromotionService', - ADWORDS_VERSION); - - // Set up the new Promotion. - $marsTourPromotion = new Promotion(); - $budget = new Money(); - $budget->microAmount = 1000000; - $marsTourPromotion->name = 'Mars Tour Promotion ' . uniqid(); - $marsTourPromotion->status = 'PAUSED'; - $marsTourPromotion->destinationUrl = 'http://www.example.com'; - $marsTourPromotion->budget = $budget; - $marsTourPromotion->callTrackingEnabled = TRUE; - - // Criteria - $criteria = array(); - - // Criterion - Travel Agency product service - $productService = new ProductService(); - $productService->text = 'Travel Agency'; - $criteria[] = $productService; - - // Criterion - English language - // The ID can be found in the documentation: - // https://developers.google.com/adwords/api/docs/appendix/languagecodes - $language = new Language(); - $language->id = 1000; - $criteria[] = $language; - - // Criterion - Within 15 miles - $proximity = new Proximity(); - $proximity->geoPoint = $business->geoPoint; - $proximity->radiusDistanceUnits = 'MILES'; - $proximity->radiusInUnits = 15; - $criteria[] = $proximity; - - $marsTourPromotion->criteria = $criteria; - - // Creatives - $creatives = array(); - - $creative1 = new Creative('Standard Mars Trip', 'Fly coach to Mars', - 'Free in-flight pretzels'); - $creatives[] = $creative1; - - $creative2 = new Creative('Deluxe Mars Trip', 'Fly first class to Mars', - 'Unlimited powdered orange drink'); - $creatives[] = $creative2; - - $marsTourPromotion->creatives = $creatives; - - $operations = array(); - - $operation = new PromotionOperation(); - $operation->operand = $marsTourPromotion; - $operation->operator = 'ADD'; - $operations[] = $operation; - - $result = $promotionService->mutate($operations); - $addedPromotion = $result[0]; - - printf("Added promotion ID %d with name '%s' to business ID %d\n", - $addedPromotion->id, $addedPromotion->name, $businessId); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddPromotionExample($user, $businessId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/GetExpressBusinesses.php b/examples/AdWords/v201402/Express/GetExpressBusinesses.php deleted file mode 100755 index c10bebd4a..000000000 --- a/examples/AdWords/v201402/Express/GetExpressBusinesses.php +++ /dev/null @@ -1,96 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Id', 'Name', 'Website', 'Address', 'GeoPoint', - 'Status'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $businessService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $business) { - $address = $business->address; - $geoPoint = $business->geoPoint; - printf("Express business found with name '%s' id %s website: %s " . - "address: %s,%s,%s,%s,%s geo point: %d,%d status: %s\n", - $business->name, $business->id, $business->website, - $address->streetAddress, $address->streetAddress2, $address->cityName, - $address->provinceName, $address->postalCode, - $geoPoint->latitudeInMicroDegrees, $geoPoint->longitudeInMicroDegrees, - $business->status - ); - } - } else { - print "No express businesses were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetExpressBusinessesExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/GetProductServices.php b/examples/AdWords/v201402/Express/GetProductServices.php deleted file mode 100755 index b691708ad..000000000 --- a/examples/AdWords/v201402/Express/GetProductServices.php +++ /dev/null @@ -1,96 +0,0 @@ -GetService('ProductServiceService', - ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('ProductServiceText'); - - // Create predicates. - $selector->predicates[] = new Predicate('ProductServiceText', 'EQUALS', - array($productServiceSuggestion)); - $selector->predicates[] = new Predicate('Locale', 'EQUALS', - array($localeText)); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $productServiceService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $productService) { - printf("Product/service with text '%s' found\n", $productService->text); - } - } else { - print "No products/services were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetProductServicesExample($user, $productServiceSuggestion, $localeText); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/GetPromotions.php b/examples/AdWords/v201402/Express/GetPromotions.php deleted file mode 100755 index 949b35418..000000000 --- a/examples/AdWords/v201402/Express/GetPromotions.php +++ /dev/null @@ -1,92 +0,0 @@ -SetExpressBusinessId($businessId); - - // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('PromotionId', 'Name'); - $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $promotionService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $promotion) { - printf("Express promotion found with name '%s' " . - "id %s destinationUrl: %s\n", $promotion->name, $promotion->id, - $promotion->destinationUrl); - } - } else { - print "No express promotions were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetPromotionsExample($user, $businessId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/UpdateExpressBusiness.php b/examples/AdWords/v201402/Express/UpdateExpressBusiness.php deleted file mode 100755 index 71d8bc3ed..000000000 --- a/examples/AdWords/v201402/Express/UpdateExpressBusiness.php +++ /dev/null @@ -1,83 +0,0 @@ -GetService('ExpressBusinessService', - ADWORDS_VERSION); - - // Update the name and website for the business. - $business = new ExpressBusiness(); - $business->id = $businessId; - $business->name = 'Express Interplanetary Cruise #' . uniqid(); - $business->website = 'http://www.example.com/?myParam=' . uniqid(); - - $operations = array(); - - $operation = new ExpressBusinessOperation(); - $operation->operand = $business; - $operation->operator = 'SET'; - $operations[] = $operation; - - $result = $businessService->mutate($operations); - $mutatedBusiness = $result[0]; - - printf("Express business with ID %d and name '%s' was updated\n", - $mutatedBusiness->id, $mutatedBusiness->name); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdateExpressBusinessExample($user, $businessId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Express/UpdatePromotion.php b/examples/AdWords/v201402/Express/UpdatePromotion.php deleted file mode 100755 index 805a99f67..000000000 --- a/examples/AdWords/v201402/Express/UpdatePromotion.php +++ /dev/null @@ -1,89 +0,0 @@ -SetExpressBusinessId($businessId); - - // Get the service, which loads the required classes. - $promotionService = $user->GetService('PromotionService', - ADWORDS_VERSION); - - // Update the budget for the promotion. - $promotion = new Promotion(); - $promotion->id = $promotionId; - $newBudget = new Money(); - $newBudget->microAmount = 2000000; - $promotion->budget = $newBudget; - - $operations = array(); - - $operation = new PromotionOperation(); - $operation->operand = $promotion; - $operation->operator = 'SET'; - $operations[] = $operation; - - $result = $promotionService->mutate($operations); - $mutatedPromotion = $result[0]; - - printf("Promotion ID %d for business ID %d now has budget micro amount %d\n", - $mutatedPromotion->id, $businessId, - $mutatedPromotion->budget->microAmount); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UpdatePromotionExample($user, $businessId, $promotionId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Misc/GetAllImagesAndVideos.php b/examples/AdWords/v201402/Misc/GetAllImagesAndVideos.php deleted file mode 100755 index 8b130f925..000000000 --- a/examples/AdWords/v201402/Misc/GetAllImagesAndVideos.php +++ /dev/null @@ -1,100 +0,0 @@ -GetService('MediaService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('MediaId', 'Width', 'Height', 'MimeType', 'Name'); - $selector->ordering = array(new OrderBy('MediaId', 'ASCENDING')); - - // Create predicates. - $selector->predicates[] = - new Predicate('Type', 'IN', array('IMAGE', 'VIDEO')); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $mediaService->get($selector); - - // Display images. - if (isset($page->entries)) { - foreach ($page->entries as $media) { - if ($media->MediaType == 'Image') { - $dimensions = MapUtils::GetMap($media->dimensions); - printf("Image with dimensions '%dx%d', MIME type '%s', and id '%s' " - . "was found.\n", $dimensions['FULL']->width, - $dimensions['FULL']->height, $media->mimeType, $media->mediaId); - } else if ($media->MediaType == 'Video') { - printf("Video with name '%s' and id '%s' was found.\n", $media->name, - $media->mediaId); - } - } - } else { - print "No images or videos were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetAllImagesAndVideosExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Misc/UploadImage.php b/examples/AdWords/v201402/Misc/UploadImage.php deleted file mode 100755 index 4649dfdd8..000000000 --- a/examples/AdWords/v201402/Misc/UploadImage.php +++ /dev/null @@ -1,77 +0,0 @@ -GetService('MediaService', ADWORDS_VERSION); - - // Create image. - $image = new Image(); - $image->data = MediaUtils::GetBase64Data('http://goo.gl/HJM3L'); - $image->type = 'IMAGE'; - - // Make the upload request. - $result = $mediaService->upload(array($image)); - - // Display result. - $image = $result[0]; - $dimensions = MapUtils::GetMap($image->dimensions); - printf("Image with dimensions '%dx%d', MIME type '%s', and id '%s' was " - . "uploaded.\n", $dimensions['FULL']->width, - $dimensions['FULL']->height, $image->mimeType, $image->mediaId); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - UploadImageExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php b/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php deleted file mode 100755 index 287ecf7c0..000000000 --- a/examples/AdWords/v201402/Optimization/EstimateKeywordTraffic.php +++ /dev/null @@ -1,142 +0,0 @@ -GetService('TrafficEstimatorService', ADWORDS_VERSION); - - // Create keywords. Up to 2000 keywords can be passed in a single request. - $keywords = array(); - $keywords[] = new Keyword('mars cruise', 'BROAD'); - $keywords[] = new Keyword('cheap cruise', 'PHRASE'); - $keywords[] = new Keyword('cruise', 'EXACT'); - - // Negative keywords don't return estimates, but adjust the estimates of the - // other keywords in the hypothetical ad group. - $negativeKeywords = array(); - $negativeKeywords[] = new Keyword('moon walk', 'BROAD'); - - // Create a keyword estimate request for each keyword. - $keywordEstimateRequests = array(); - foreach ($keywords as $keyword) { - $keywordEstimateRequest = new KeywordEstimateRequest(); - $keywordEstimateRequest->keyword = $keyword; - $keywordEstimateRequests[] = $keywordEstimateRequest; - } - - // Create a keyword estimate request for each negative keyword. - foreach ($negativeKeywords as $negativeKeyword) { - $keywordEstimateRequest = new KeywordEstimateRequest(); - $keywordEstimateRequest->keyword = $negativeKeyword; - $keywordEstimateRequest->isNegative = TRUE; - $keywordEstimateRequests[] = $keywordEstimateRequest; - } - - // Create ad group estimate requests. - $adGroupEstimateRequest = new AdGroupEstimateRequest(); - $adGroupEstimateRequest->keywordEstimateRequests = $keywordEstimateRequests; - $adGroupEstimateRequest->maxCpc = new Money(1000000); - - // Create campaign estimate requests. - $campaignEstimateRequest = new CampaignEstimateRequest(); - $campaignEstimateRequest->adGroupEstimateRequests[] = $adGroupEstimateRequest; - - // Set targeting criteria. Only locations and languages are supported. - $unitedStates = new Location(); - $unitedStates->id = 2840; - $campaignEstimateRequest->criteria[] = $unitedStates; - - $english = new Language(); - $english->id = 1000; - $campaignEstimateRequest->criteria[] = $english; - - // Create selector. - $selector = new TrafficEstimatorSelector(); - $selector->campaignEstimateRequests[] = $campaignEstimateRequest; - - // Make the get request. - $result = $trafficEstimatorService->get($selector); - - // Display results. - $keywordEstimates = - $result->campaignEstimates[0]->adGroupEstimates[0]->keywordEstimates; - for ($i = 0; $i < sizeof($keywordEstimates); $i++) { - $keywordEstimateRequest = $keywordEstimateRequests[$i]; - // Skip negative keywords, since they don't return estimates. - if (!$keywordEstimateRequest->isNegative) { - $keyword = $keywordEstimateRequest->keyword; - $keywordEstimate = $keywordEstimates[$i]; - - // Find the mean of the min and max values. - $meanAverageCpc = ($keywordEstimate->min->averageCpc->microAmount - + $keywordEstimate->max->averageCpc->microAmount) / 2; - $meanAveragePosition = ($keywordEstimate->min->averagePosition - + $keywordEstimate->max->averagePosition) / 2; - $meanClicks = ($keywordEstimate->min->clicksPerDay - + $keywordEstimate->max->clicksPerDay) / 2; - $meanTotalCost = ($keywordEstimate->min->totalCost->microAmount - + $keywordEstimate->max->totalCost->microAmount) / 2; - - printf("Results for the keyword with text '%s' and match type '%s':\n", - $keyword->text, $keyword->matchType); - printf(" Estimated average CPC in micros: %.0f\n", $meanAverageCpc); - printf(" Estimated ad position: %.2f \n", $meanAveragePosition); - printf(" Estimated daily clicks: %d\n", $meanClicks); - printf(" Estimated daily cost in micros: %.0f\n\n", $meanTotalCost); - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - EstimateKeywordTrafficExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Optimization/GetKeywordBidSimulations.php b/examples/AdWords/v201402/Optimization/GetKeywordBidSimulations.php deleted file mode 100755 index efb71e3b2..000000000 --- a/examples/AdWords/v201402/Optimization/GetKeywordBidSimulations.php +++ /dev/null @@ -1,106 +0,0 @@ -GetService('DataService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('AdGroupId', 'CriterionId', 'StartDate', 'EndDate', - 'Bid', 'LocalClicks', 'LocalCost', 'MarginalCpc', 'LocalImpressions'); - - // Create predicates. - $selector->predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do{ - // Make the getCriterionBidLandscape request. - $page = $dataService->getCriterionBidLandscape($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $bidLandscape) { - printf("Found criterion bid landscape for keyword with id '%s', start " - . "date '%s', end date '%s', and landscape points:\n", - $bidLandscape->criterionId, $bidLandscape->startDate, - $bidLandscape->endDate); - foreach ($bidLandscape->landscapePoints as $bidLandscapePoint) { - printf(" bid: %.0f => clicks: %d, cost: %.0f, marginalCpc: %.0f, " - . "impressions: %d\n", - $bidLandscapePoint->bid->microAmount, $bidLandscapePoint->clicks, - $bidLandscapePoint->cost->microAmount, - $bidLandscapePoint->marginalCpc->microAmount, - $bidLandscapePoint->impressions); - } - print "\n"; - } - } else { - print "No criterion bid landscapes were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetKeywordBidSimulationsExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Optimization/GetKeywordIdeas.php b/examples/AdWords/v201402/Optimization/GetKeywordIdeas.php deleted file mode 100755 index e397ecd12..000000000 --- a/examples/AdWords/v201402/Optimization/GetKeywordIdeas.php +++ /dev/null @@ -1,116 +0,0 @@ -GetService('TargetingIdeaService', ADWORDS_VERSION); - - // Create seed keyword. - $keyword = 'mars cruise'; - - // Create selector. - $selector = new TargetingIdeaSelector(); - $selector->requestType = 'IDEAS'; - $selector->ideaType = 'KEYWORD'; - $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 'SEARCH_VOLUME', - 'CATEGORY_PRODUCTS_AND_SERVICES'); - - // Create language search parameter (optional). - // The ID can be found in the documentation: - // https://developers.google.com/adwords/api/docs/appendix/languagecodes - // Note: As of v201302, only a single language parameter is allowed. - $languageParameter = new LanguageSearchParameter(); - $english = new Language(); - $english->id = 1000; - $languageParameter->languages = array($english); - - // Create related to query search parameter. - $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter(); - $relatedToQuerySearchParameter->queries = array($keyword); - $selector->searchParameters[] = $relatedToQuerySearchParameter; - $selector->searchParameters[] = $languageParameter; - - // Set selector paging (required by this service). - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $targetingIdeaService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $targetingIdea) { - $data = MapUtils::GetMap($targetingIdea->data); - $keyword = $data['KEYWORD_TEXT']->value; - $search_volume = isset($data['SEARCH_VOLUME']->value) - ? $data['SEARCH_VOLUME']->value : 0; - $categoryIds = - implode(', ', $data['CATEGORY_PRODUCTS_AND_SERVICES']->value); - printf("Keyword idea with text '%s', category IDs (%s) and average " - . "monthly search volume '%s' was found.\n", - $keyword, $categoryIds, $search_volume); - } - } else { - print "No keywords ideas were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetKeywordIdeasExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Optimization/GetPlacementIdeas.php b/examples/AdWords/v201402/Optimization/GetPlacementIdeas.php deleted file mode 100755 index 1e315ff0e..000000000 --- a/examples/AdWords/v201402/Optimization/GetPlacementIdeas.php +++ /dev/null @@ -1,101 +0,0 @@ -GetService('TargetingIdeaService', ADWORDS_VERSION); - - // Create seed url. - $url = 'mars.google.com'; - - // Create selector. - $selector = new TargetingIdeaSelector(); - $selector->requestType = 'IDEAS'; - $selector->ideaType = 'PLACEMENT'; - $selector->requestedAttributeTypes = array('CRITERION', 'PLACEMENT_TYPE'); - - // Create related to url search parameter. - $relatedToUrlSearchParameter = new RelatedToUrlSearchParameter(); - $relatedToUrlSearchParameter->urls = array($url); - $relatedToUrlSearchParameter->includeSubUrls = FALSE; - $selector->searchParameters[] = $relatedToUrlSearchParameter; - - // Set selector paging (required by this service). - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $targetingIdeaService->get($selector); - - // Display related placements. - if (isset($page->entries)) { - foreach ($page->entries as $targetingIdea) { - $data = MapUtils::GetMap($targetingIdea->data); - $placement = $data['CRITERION']->value; - $placementType = $data['PLACEMENT_TYPE']->value; - printf("Placement with url '%s' and type '%s' was found.\n", - $placement->url, $placementType); - } - } else { - print "No related placements were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetPlacementIdeasExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Remarketing/AddAudience.php b/examples/AdWords/v201402/Remarketing/AddAudience.php deleted file mode 100755 index 2d11f956d..000000000 --- a/examples/AdWords/v201402/Remarketing/AddAudience.php +++ /dev/null @@ -1,107 +0,0 @@ -GetService('AdwordsUserListService', ADWORDS_VERSION); - $conversionTrackerService = - $user->GetService('ConversionTrackerService', ADWORDS_VERSION); - - // Create conversion type (tag). - $conversionType = new UserListConversionType(); - $conversionType->name = 'Mars cruise customers #' . uniqid(); - - // Create remarketing user list. - $userList = new BasicUserList(); - $userList->name = 'Mars cruise customers #' . uniqid(); - $userList->conversionTypes = array($conversionType); - - // Set additional settings (optional). - $userList->description = 'A list of mars cruise customers in the last year'; - $userList->status = 'OPEN'; - $userList->membershipLifeSpan = 365; - - // Create operation. - $operation = new UserListOperation(); - $operation->operand = $userList; - $operation->operator = 'ADD'; - - $operations = array($operation); - - // Make the mutate request. - $result = $userListService->mutate($operations); - $userList = $result->value[0]; - - // Wait a moment before retrieving the conversion snippet. - sleep(1); - - // Create the selector. - $selector = new Selector(); - $selector->fields = array('Id'); - $selector->predicates[] = - new Predicate('Id', 'IN', array($userList->conversionTypes[0]->id)); - - // Make the get request. - $page = $conversionTrackerService->get($selector); - $conversionTracker = $page->entries[0]; - - // Display result. - printf("Audience with name '%s' and ID '%.0f' was added.\n", $userList->name, - $userList->id); - printf("Tag code:\n%s\n", $conversionTracker->snippet); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddAudienceExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Remarketing/AddConversionTracker.php b/examples/AdWords/v201402/Remarketing/AddConversionTracker.php deleted file mode 100755 index ae5d35720..000000000 --- a/examples/AdWords/v201402/Remarketing/AddConversionTracker.php +++ /dev/null @@ -1,94 +0,0 @@ -GetService('ConversionTrackerService', ADWORDS_VERSION); - - // Create conversion tracker. - $conversionTracker = new AdWordsConversionTracker(); - $conversionTracker->name = 'Interplanetary Cruise Conversion #' . uniqid(); - - // Set additional settings (optional). - $conversionTracker->status = 'ENABLED'; - $conversionTracker->category = 'DEFAULT'; - $conversionTracker->viewthroughLookbackWindow = 15; - $conversionTracker->isProductAdsChargeable = TRUE; - $conversionTracker->productAdsChargeableConversionWindow = 15; - $conversionTracker->markupLanguage = 'HTML'; - $conversionTracker->textFormat = 'HIDDEN'; - $conversionTracker->conversionPageLanguage = 'en'; - $conversionTracker->backgroundColor = '#0000FF'; - - // Create operation. - $operation = new ConversionTrackerOperation(); - $operation->operand = $conversionTracker; - $operation->operator = 'ADD'; - - $operations = array($operation); - - // Make the mutate request. - $result = $conversionTrackerService->mutate($operations); - - // Display result. - $conversionTracker = $result->value[0]; - printf("Conversion type with name '%s' and ID '%.0f' was added.\n", - $conversionTracker->name, $conversionTracker->id); - printf("Tag code:\n%s\n", $conversionTracker->snippet); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddConversionTrackerExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php b/examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php deleted file mode 100755 index 282da1364..000000000 --- a/examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php +++ /dev/null @@ -1,91 +0,0 @@ -LoadService('ReportDefinitionService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('CampaignId', 'AdGroupId', 'Id', 'Criteria', - 'CriteriaType', 'Impressions', 'Clicks', 'Cost'); - - // Filter out deleted criteria. - $selector->predicates[] = new Predicate('Status', 'NOT_IN', array('DELETED')); - - // Create report definition. - $reportDefinition = new ReportDefinition(); - $reportDefinition->selector = $selector; - $reportDefinition->reportName = 'Criteria performance report #' . uniqid(); - $reportDefinition->dateRangeType = 'LAST_7_DAYS'; - $reportDefinition->reportType = 'CRITERIA_PERFORMANCE_REPORT'; - $reportDefinition->downloadFormat = 'CSV'; - - // Exclude criteria that haven't recieved any impressions over the date range. - $reportDefinition->includeZeroImpressions = FALSE; - - // Set additional options. - $options = array('version' => ADWORDS_VERSION, 'returnMoneyInMicros' => TRUE); - - // Download report. - ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options); - - printf("Report with name '%s' was downloaded to '%s'.\n", - $reportDefinition->reportName, $filePath); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Download the report to a file in the same directory as the example. - $filePath = dirname(__FILE__) . '/report.csv'; - - // Run the example. - DownloadCriteriaReportExample($user, $filePath); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Reporting/DownloadCriteriaReportWithAwql.php b/examples/AdWords/v201402/Reporting/DownloadCriteriaReportWithAwql.php deleted file mode 100755 index 099500969..000000000 --- a/examples/AdWords/v201402/Reporting/DownloadCriteriaReportWithAwql.php +++ /dev/null @@ -1,82 +0,0 @@ - ADWORDS_VERSION); - - // Download report. - ReportUtils::DownloadReportWithAwql($reportQuery, $filePath, $user, - $reportFormat, $options); - - printf("Report was downloaded to '%s'.\n", $filePath); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Download the report to a file in the same directory as the example. - $filePath = dirname(__FILE__) . '/report.csv'; - $reportFormat = 'CSV'; - - // Run the example. - DownloadCriteriaReportWithAwqlExample($user, $filePath, $reportFormat); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Reporting/GetReportFields.php b/examples/AdWords/v201402/Reporting/GetReportFields.php deleted file mode 100755 index a51f72880..000000000 --- a/examples/AdWords/v201402/Reporting/GetReportFields.php +++ /dev/null @@ -1,78 +0,0 @@ -GetService('ReportDefinitionService', ADWORDS_VERSION); - - // The type of the report to get fields for. - $reportType = 'CAMPAIGN_PERFORMANCE_REPORT'; - - // Get report fields. - $reportDefinitionFields = - $reportDefinitionService->getReportFields($reportType); - - // Display results. - printf("The report type '%s' contains the following fields:\n", $reportType); - foreach ($reportDefinitionFields as $reportDefinitionField) { - printf(' %s (%s)', $reportDefinitionField->fieldName, - $reportDefinitionField->fieldType); - if (isset($reportDefinitionField->enumValues)) { - printf(' := [%s]', implode(', ', $reportDefinitionField->enumValues)); - } - print "\n"; - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetReportFieldsExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ShoppingCampaigns/AddProductPartitionTree.php b/examples/AdWords/v201402/ShoppingCampaigns/AddProductPartitionTree.php deleted file mode 100755 index 62ab51acd..000000000 --- a/examples/AdWords/v201402/ShoppingCampaigns/AddProductPartitionTree.php +++ /dev/null @@ -1,251 +0,0 @@ -adGroupId = $adGroupId; - } - - /** - * Creates a subdivision node - * @param ProductPartition $parent The node that should be this node's parent - * @param ProductDimension $value The value being partitioned on - * @return ProductPartition A new subdivision node - */ - public function createSubdivision(ProductPartition $parent = null, - ProductDimension $value = null) { - $division = new ProductPartition('SUBDIVISION'); - $division->id = $this->nextId--; - - // The root node has neither a parent nor a value - if (!is_null($parent)) { - $division->parentCriterionId = $parent->id; - $division->caseValue = $value; - } - - $criterion = new BiddableAdGroupCriterion(); - $criterion->adGroupId = $this->adGroupId; - $criterion->criterion = $division; - - $this->createAddOperation($criterion); - - return $division; - } - - /** - * Creates a unit node. - * @param ProductPartition $parent The node that should be this node's parent - * @param ProductDimension $value The value being partitioned on - * @param int $bid_amount The amount to bid for matching products, in micros - * @return ProductPartition A new unit node - */ - public function createUnit(ProductPartition $parent = null, - ProductDimension $value = null, $bid_amount = null) { - $unit = new ProductPartition('UNIT'); - - // The root node has neither a parent nor a value - if (!is_null($parent)) { - $unit->parentCriterionId = $parent->id; - $unit->caseValue = $value; - } - - if (!is_null($bid_amount) && $bid_amount > 0) { - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->bids = array(); - $cpcBid = new CpcBid(); - $cpcBid->bid = new Money($bid_amount); - $biddingStrategyConfiguration->bids[] = $cpcBid; - - $criterion = new BiddableAdGroupCriterion(); - $criterion->biddingStrategyConfiguration = $biddingStrategyConfiguration; - } else { - $criterion = new NegativeAdGroupCriterion(); - } - - $criterion->adGroupId = $this->adGroupId; - $criterion->criterion = $unit; - - $this->createAddOperation($criterion); - - return $unit; - } - - /** - * Returns the set of mutate operations needed to create the current tree. - * @return array The set of operations - */ - public function getOperations() { - return $this->operations; - } - - /** - * Creates an AdGroupCriterionOperation for the given criterion - * @param AdGroupCriterion $criterion The criterion we want to add - */ - private function createAddOperation(AdGroupCriterion $criterion) { - $operation = new AdGroupCriterionOperation(); - $operation->operand = $criterion; - $operation->operator = 'ADD'; - $this->operations[] = $operation; - } -} - -/** - * Runs the example. - * @param AdWordsUser $user the user to run the example with - * @param int $adGroupId the ad group to add the tree to - */ -function addProductPartitionTreeExample(AdWordsUser $user, $adGroupId) { - // Get the AdGroupCriterionService, which loads the required classes. - $adGroupCriterionService = $user->GetService('AdGroupCriterionService', - ADWORDS_VERSION); - - $helper = new ProductPartitionHelper($adGroupId); - - // The most trivial partition tree has only a unit node as the root: - // $helper->createUnit(null, null, 100000); - - $root = $helper->createSubdivision(); - - $helper->createUnit($root, new ProductCanonicalCondition('NEW'), 200000); - $helper->createUnit($root, new ProductCanonicalCondition('USED'), 100000); - $otherCondition = $helper->createSubdivision($root, - new ProductCanonicalCondition()); - - $helper->createUnit($otherCondition, new ProductBrand('CoolBrand'), 900000); - $helper->createUnit($otherCondition, new ProductBrand('CheapBrand'), 10000); - $otherBrand = - $helper->createSubdivision($otherCondition, new ProductBrand()); - - // The value for the bidding category is a fixed ID for the 'Luggage & Bags' - // category. You can retrieve IDs for categories from the ConstantDataService. - // See the 'GetProductCategoryTaxonomy' example for more details. - $helper->createUnit($otherBrand, - new ProductBiddingCategory('BIDDING_CATEGORY_L1', - '-5914235892932915235'), 750000); - $helper->createUnit($otherBrand, - new ProductBiddingCategory('BIDDING_CATEGORY_L1'), 110000); - - // Make the mutate request. - $result = $adGroupCriterionService->mutate($helper->getOperations()); - - $children = array(); - $rootNode = null; - // For each criterion, make an array containing each of its children - // We always create the parent before the child, so we can rely on that here - foreach ($result->value as $adGroupCriterion) { - $children[$adGroupCriterion->criterion->id] = array(); - - if (isset($adGroupCriterion->criterion->parentCriterionId)) { - $children[$adGroupCriterion->criterion->parentCriterionId][] = - $adGroupCriterion->criterion; - } else { - $rootNode = $adGroupCriterion->criterion; - } - } - - // Show the tree - displayTree($rootNode, $children); -} - -function displayTree($node, $children, $level = 0) { - // Recursively display a node and each of its children - $value = ""; - $type = ""; - - if (isset($node->caseValue)) { - $type = $node->caseValue->ProductDimensionType; - switch ($type) { - case 'ProductCanonicalCondition': - $value = $node->caseValue->condition; - break; - - case 'ProductBiddingCategory': - $value = $node->caseValue->type . "(" . $node->caseValue->value . ")"; - break; - - default: - $value = $node->caseValue->value; - break; - } - } - - printf("%sid: %s, type: %s, value: %s\n", str_repeat(" ", $level), - $node->id, $type, $value); - foreach ($children[$node->id] as $childNode) { - displayTree($childNode, $children, $level + 1); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - addProductPartitionTreeExample($user, $adGroupId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ShoppingCampaigns/AddProductScope.php b/examples/AdWords/v201402/ShoppingCampaigns/AddProductScope.php deleted file mode 100755 index 0b7ebf45f..000000000 --- a/examples/AdWords/v201402/ShoppingCampaigns/AddProductScope.php +++ /dev/null @@ -1,80 +0,0 @@ -GetService('CampaignCriterionService', - ADWORDS_VERSION); - - $productScope = new ProductScope(); - // This set of dimensions is for demonstration purposes only. It would be - // extremely unlikely that you want to include so many dimensions in your - // product scope. - $productScope->dimensions[] = new ProductBrand('Nexus'); - $productScope->dimensions[] = new ProductCanonicalCondition('NEW'); - $productScope->dimensions[] = - new ProductCustomAttribute('CUSTOM_ATTRIBUTE_0', 'my attribute value'); - $productScope->dimensions[] = new ProductOfferId('book1'); - $productScope->dimensions[] = new ProductType('PRODUCT_TYPE_L1', 'Media'); - $productScope->dimensions[] = new ProductType('PRODUCT_TYPE_L2', 'Books'); - // The value for the bidding category is a fixed ID for the 'Luggage & Bags' - // category. You can retrieve IDs for categories from the ConstantDataService. - // See the 'GetProductCategoryTaxonomy' example for more details. - $productScope->dimensions[] = - new ProductBiddingCategory('BIDDING_CATEGORY_L1', '-5914235892932915235'); - - $campaignCriterion = new CampaignCriterion(); - $campaignCriterion->campaignId = $campaignId; - $campaignCriterion->criterion = $productScope; - - // Create operation. - $operation = new CampaignCriterionOperation(); - $operation->operand = $campaignCriterion; - $operation->operator = 'ADD'; - - // Make the mutate request. - $result = $campaignCriterionService->mutate(array($operation)); - - printf("Created a ProductScope criterion with ID '%s'", - $result->value[0]->criterion->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - addProductScopeExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ShoppingCampaigns/AddShoppingCampaign.php b/examples/AdWords/v201402/ShoppingCampaigns/AddShoppingCampaign.php deleted file mode 100755 index 3dcfb8fc9..000000000 --- a/examples/AdWords/v201402/ShoppingCampaigns/AddShoppingCampaign.php +++ /dev/null @@ -1,129 +0,0 @@ -GetService('CampaignService', ADWORDS_VERSION); - $adGroupService = $user->GetService('AdGroupService', ADWORDS_VERSION); - $adGroupAdService = $user->GetService('AdGroupAdService', ADWORDS_VERSION); - - // Create campaign. - $campaign = new Campaign(); - $campaign->name = 'Shopping campaign #' . uniqid(); - // The advertisingChannelType is what makes this a Shopping campaign - $campaign->advertisingChannelType = 'SHOPPING'; - - // Set shared budget (required). - $campaign->budget = new Budget(); - $campaign->budget->budgetId = $budgetId; - - // Set bidding strategy (required). - $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); - $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC'; - - $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration; - - // Set keyword matching setting (required). - $keywordMatchSetting = new KeywordMatchSetting(); - $keywordMatchSetting->optIn = false; - $campaign->settings[] = $keywordMatchSetting; - - // All Shopping campaigns need a ShoppingSetting. - $shoppingSetting = new ShoppingSetting(); - $shoppingSetting->salesCountry = 'US'; - $shoppingSetting->campaignPriority = 0; - $shoppingSetting->merchantId = $merchantId; - $campaign->settings[] = $shoppingSetting; - - // Create operation. - $operation = new CampaignOperation(); - $operation->operand = $campaign; - $operation->operator = 'ADD'; - - // Make the mutate request. - $result = $campaignService->mutate(array($operation)); - - // Display result. - $campaign = $result->value[0]; - printf("Campaign with name '%s' and ID '%s' was added.\n", $campaign->name, - $campaign->id); - - // Create ad group. - $adGroup = new AdGroup(); - $adGroup->campaignId = $campaign->id; - $adGroup->name = 'Ad Group #' . uniqid(); - - // Create operation. - $operation = new AdGroupOperation(); - $operation->operand = $adGroup; - $operation->operator = 'ADD'; - - // Make the mutate request. - $result = $adGroupService->mutate(array($operation)); - - // Display result. - $adGroup = $result->value[0]; - printf("Ad group with name '%s' and ID '%s' was added.\n", $adGroup->name, - $adGroup->id); - - // Create product ad. - $productAd = new ProductAd(); - - // Create ad group ad. - $adGroupAd = new AdGroupAd(); - $adGroupAd->adGroupId = $adGroup->id; - $adGroupAd->ad = $productAd; - - // Create operation. - $operation = new AdGroupAdOperation(); - $operation->operand = $adGroupAd; - $operation->operator = 'ADD'; - - // Make the mutate request. - $result = $adGroupAdService->mutate(array($operation)); - - // Display result. - $adGroupAd = $result->value[0]; - printf("Product ad with ID '%s' was added.\n", $adGroupAd->ad->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - addShoppingCampaignExample($user, $budgetId, $merchantId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ShoppingCampaigns/GetProductCategoryTaxonomy.php b/examples/AdWords/v201402/ShoppingCampaigns/GetProductCategoryTaxonomy.php deleted file mode 100755 index a5bb62b16..000000000 --- a/examples/AdWords/v201402/ShoppingCampaigns/GetProductCategoryTaxonomy.php +++ /dev/null @@ -1,95 +0,0 @@ -GetService('ConstantDataService', - ADWORDS_VERSION); - - $selector = new Selector(); - $selector->predicates[] = new Predicate('Country', 'IN', array('US')); - - $results = $constantDataService->getProductBiddingCategoryData($selector); - - $biddingCategories = array(); - $rootCategories = array(); - - foreach ($results as $productBiddingCategory) { - $id = $productBiddingCategory->dimensionValue->value; - $parentId = null; - $name = $productBiddingCategory->displayValue[0]->value; - - if ($productBiddingCategory->parentDimensionValue) { - $parentId = $productBiddingCategory->parentDimensionValue->value; - } - - if (!isset($biddingCategories[$id])) { - $biddingCategories[$id] = new StdClass(); - } - - $category = $biddingCategories[$id]; - - if ($parentId) { - if (!isset($biddingCategories[$parentId])) { - $biddingCategories[$parentId] = new StdClass(); - } - $parent = $biddingCategories[$parentId]; - if (!isset($parent->children)) { - $parent->children = array(); - } - $parent->children[] = $category; - } else { - $rootCategories[] = $category; - } - - $category->id = $id; - $category->name = $name; - } - - displayCategories($rootCategories); -} - -function displayCategories($categories, $prefix = "") { - foreach ($categories as $category) { - printf("%s%s [%s]\n", $prefix, $category->name, $category->id); - if (isset($category->children)) { - displayCategories($category->children, "{$prefix}{$category->name} > "); - } - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - getProductCategoryTaxonomyExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/ShoppingCampaigns/SetProductSalesChannel.php b/examples/AdWords/v201402/ShoppingCampaigns/SetProductSalesChannel.php deleted file mode 100755 index 762e6c34a..000000000 --- a/examples/AdWords/v201402/ShoppingCampaigns/SetProductSalesChannel.php +++ /dev/null @@ -1,70 +0,0 @@ -GetService('CampaignCriterionService', - ADWORDS_VERSION); - - $productSalesChannel = new ProductSalesChannel(ONLINE); - - $campaignCriterion = new CampaignCriterion(); - $campaignCriterion->campaignId = $campaignId; - $campaignCriterion->criterion = $productSalesChannel; - - // Create operation. - $operation = new CampaignCriterionOperation(); - $operation->operand = $campaignCriterion; - $operation->operator = 'ADD'; - - // Make the mutate request. - $result = $campaignCriterionService->mutate(array($operation)); - - $criterion = $result->value[0]->criterion; - - printf("%s set to criterion %d", $criterion->CriterionType, $criterion->id); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - setProductSalesChannelExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Targeting/AddCampaignTargetingCriteria.php b/examples/AdWords/v201402/Targeting/AddCampaignTargetingCriteria.php deleted file mode 100755 index d4ef07b9c..000000000 --- a/examples/AdWords/v201402/Targeting/AddCampaignTargetingCriteria.php +++ /dev/null @@ -1,123 +0,0 @@ -GetService('CampaignCriterionService', ADWORDS_VERSION); - - $campaignCriteria = array(); - - // Create locations. The IDs can be found in the documentation or retrieved - // with the LocationCriterionService. - $california = new Location(); - $california->id = 21137; - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $california); - - $mexico = new Location(); - $mexico->id = 2484; - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $mexico); - - // Create languages. The IDs can be found in the documentation or retrieved - // with the ConstantDataService. - $english = new Language(); - $english->id = 1000; - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $english); - - $spanish = new Language(); - $spanish->id = 1003; - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $spanish); - - // Location Groups criteria. These represent targeting by household income - // or places of interest. The IDs can be found in the documentation or - // retrieved with the LocationCriterionService. - - // Tiers are numbered 1-10, and represent 10% segments of earners. - // For example, TIER_1 is the top 10%, TIER_2 is the 80-90%, etc. - // Tiers 6 through 10 are grouped into TIER_6_TO_10. - // Other valid options: AIRPORT, UNIVERSITY. - $tierThree = new IncomeOperand('TIER_3'); - $miami = new GeoTargetOperand(array(1015116)); // Miami, FL - $firstGroup = new LocationGroups(); - $firstGroup->matchingFunction = new FeedFunction('AND', $tierThree, $miami); - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $firstGroup); - - // Other valid options: AIRPORT, UNIVERSITY. - $downtown = new PlacesOfInterestOperand('DOWNTOWN'); - $secondGroup = new LocationGroups(); - $secondGroup->matchingFunction = new FeedFunction('AND', $downtown, $miami); - $campaignCriteria[] = new CampaignCriterion($campaignId, null, $secondGroup); - - // Create operations. - $operations = array(); - foreach ($campaignCriteria as $campaignCriterion) { - $operations[] = new CampaignCriterionOperation($campaignCriterion, 'ADD'); - } - - // Make the mutate request. - $result = $campaignCriterionService->mutate($operations); - - // Display results. - foreach ($result->value as $campaignCriterion) { - printf("Campaign targeting criterion with ID '%s' and type '%s' was " - . "added.\n", $campaignCriterion->criterion->id, - $campaignCriterion->criterion->CriterionType); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddCampaignTargetingCriteriaExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Targeting/GetCampaignTargetingCriteria.php b/examples/AdWords/v201402/Targeting/GetCampaignTargetingCriteria.php deleted file mode 100755 index 2ea8059a5..000000000 --- a/examples/AdWords/v201402/Targeting/GetCampaignTargetingCriteria.php +++ /dev/null @@ -1,101 +0,0 @@ -GetService('CampaignCriterionService', ADWORDS_VERSION); - - // Create selector. - $selector = new Selector(); - $selector->fields = array('Id', 'CriteriaType'); - - // Create predicates. - $selector->predicates[] = - new Predicate('CampaignId', 'IN', array($campaignId)); - $selector->predicates[] = new Predicate('CriteriaType', 'IN', - array('LANGUAGE', 'LOCATION', 'AGE_RANGE', 'CARRIER', - 'OPERATING_SYSTEM_VERSION', 'GENDER', 'POLYGON', 'PROXIMITY', - 'PLATFORM')); - - // Create paging controls. - $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); - - do { - // Make the get request. - $page = $campaignCriterionService->get($selector); - - // Display results. - if (isset($page->entries)) { - foreach ($page->entries as $campaignCriterion) { - printf("Campaign targeting criterion with ID '%s' and type '%s' was " - . "found.\n", $campaignCriterion->criterion->id, - $campaignCriterion->criterion->CriterionType); - } - } else { - print "No campaign targeting criteria were found.\n"; - } - - // Advance the paging index. - $selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE; - } while ($page->totalNumEntries > $selector->paging->startIndex); -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetCampaignTargetingCriteriaExample($user, $campaignId); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Targeting/GetTargetableLanguagesAndCarriers.php b/examples/AdWords/v201402/Targeting/GetTargetableLanguagesAndCarriers.php deleted file mode 100755 index 3c9abbee2..000000000 --- a/examples/AdWords/v201402/Targeting/GetTargetableLanguagesAndCarriers.php +++ /dev/null @@ -1,77 +0,0 @@ -GetService('ConstantDataService', ADWORDS_VERSION); - - // Make the getLanguageCriterion request. - $languages = $constantDataService->getLanguageCriterion(); - - foreach ($languages as $language) { - printf("Language with name '%s' and ID '%s' was found.\n", - $language->name, $language->id); - } - - print "\n"; - - // Make the getCarrierCriterion request. - $carriers = $constantDataService->getCarrierCriterion(); - - foreach ($carriers as $carrier) { - printf("Carrier with name '%s', country code '%s', and ID '%s' was " - . "found.\n", $carrier->name, $carrier->countryCode, $carrier->id); - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - GetTargetableLanguagesAndCarriersExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/Targeting/LookupLocation.php b/examples/AdWords/v201402/Targeting/LookupLocation.php deleted file mode 100755 index 6f4f3e98d..000000000 --- a/examples/AdWords/v201402/Targeting/LookupLocation.php +++ /dev/null @@ -1,109 +0,0 @@ -locationName, $location->displayType); -} - -/** - * Runs the example. - * @param AdWordsUser $user the user to run the example with - */ -function LookupLocationExample(AdWordsUser $user) { - // Get the service, which loads the required classes. - $locationCriterionService = - $user->GetService('LocationCriterionService', ADWORDS_VERSION); - - // Location names to look up. - $locationNames = array('Paris', 'Quebec', 'Spain', 'Deutschland'); - // Locale to retrieve location names in. - $locale = 'en'; - - $selector = new Selector(); - $selector->fields = array('Id', 'LocationName', 'CanonicalName', - 'DisplayType', 'ParentLocations', 'Reach', 'TargetingStatus'); - // Location names must match exactly, only EQUALS and IN are supported. - $selector->predicates[] = new Predicate('LocationName', 'IN', $locationNames); - // Only one locale can be used in a request. - $selector->predicates[] = new Predicate('Locale', 'EQUALS', $locale); - - // Make the get request. - $locationCriteria = $locationCriterionService->get($selector); - - // Display results. - if (isset($locationCriteria)) { - foreach ($locationCriteria as $locationCriterion) { - if (isset($locationCriterion->location->parentLocations)) { - $parentLocations = implode(', ', - array_map('GetLocationString', - $locationCriterion->location->parentLocations)); - } else { - $parentLocations = 'N/A'; - } - printf("The search term '%s' returned the location '%s' of type '%s' " - . "with ID '%s', parent locations '%s', and reach '%d' (%s).\n", - $locationCriterion->searchTerm, - $locationCriterion->location->locationName, - $locationCriterion->location->displayType, - $locationCriterion->location->id, - $parentLocations, - $locationCriterion->reach, - $locationCriterion->location->targetingStatus); - } - } else { - print "No location criteria were found.\n"; - } -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - LookupLocationExample($user); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201402/init.php b/examples/AdWords/v201402/init.php deleted file mode 100755 index 69c218454..000000000 --- a/examples/AdWords/v201402/init.php +++ /dev/null @@ -1,46 +0,0 @@ -GetService('FeedService'); - - // Create a feed that will sync to the Google Places account specified - // by placesEmailAddress. Do not add FeedAttributes to this object, - // as AdWords will add them automatically because this will be a - // system generated feed. - $placesFeed = new Feed(); - $placesFeed->name = 'Places feed #' . uniqid(); - - $feedData = new PlacesLocationFeedData(); - $feedData->emailAddress = $placesEmailAddress; - $oAuthInfo = new OAuthInfo(); - $oAuthInfo->httpMethod = 'GET'; - $oAuthInfo->httpRequestUrl = 'https://www.google.com/local/add'; - $oAuthInfo->httpAuthorizationHeader = sprintf('Bearer %s', - $placesAccessToken); - $feedData->oAuthInfo = $oAuthInfo; - - $placesFeed->systemFeedGenerationData = $feedData; - - // Since this feed's feed items will be managed by AdWords, - // you must set its origin to ADWORDS. - $placesFeed->origin = 'ADWORDS'; - - // Create an operation to add the feed. - $feedOperation = new FeedOperation(); - $feedOperation->operand = $placesFeed; - $feedOperation->operator = 'ADD'; - - // Add the feed. Since it is a system generated feed, AdWords will - // automatically: - // 1. Set up the FeedAttributes on the feed. - // 2. Set up a FeedMapping that associates the FeedAttributes of the feed - // with the placeholder fields of the LOCATION placeholder type. - $addFeedResult = $feedService->mutate(array($feedOperation)); - $addedFeed = $addFeedResult->value[0]; - printf("Added places feed with ID %d\n", $addedFeed->id); - - $customerFeedService = $user->GetService('CustomerFeedService'); - - // Add a CustomerFeed that associates the feed with this customer for - // the LOCATION placeholder type. - $customerFeed = new CustomerFeed(); - $customerFeed->feedId = $addedFeed->id; - $customerFeed->placeholderTypes = array(PLACEHOLDER_LOCATION); - - // Create a matching function that will always evaluate to true. - $customerMatchingFunction = new FeedFunction(); - $constOperand = new ConstantOperand(); - $constOperand->type = 'BOOLEAN'; - $constOperand->booleanValue = true; - $customerMatchingFunction->lhsOperand = array($constOperand); - $customerMatchingFunction->operator = 'IDENTITY'; - $customerFeed->matchingFunction = $customerMatchingFunction; - - // Create an operation to add the customer feed. - $customerFeedOperation = new CustomerFeedOperation(); - $customerFeedOperation->operand = $customerFeed; - $customerFeedOperation->operator = 'ADD'; - - - // After the completion of the Feed ADD operation above the added feed will - // not be available for usage in a CustomerFeed until the sync between the - // AdWords and Places accounts completes. The loop below will retry adding - // the CustomerFeed up to ten times with an exponential back-off policy. - $addedCustomerFeed = NULL; - $numberOfAttempts = 0; - do { - $numberOfAttempts++; - try { - $customerFeedResult = - $customerFeedService->mutate(array($customerFeedOperation)); - $addedCustomerFeed = $customerFeedResult->value[0]; - printf("Attempt #%d to add the CustomerFeed was successful\n", - $numberOfAttempts); - } catch (Exception $e) { - // Wait using exponential backoff policy - $sleepSeconds = 5 * pow(2, $numberOfAttempts); - printf("Attempt #%d to add the CustomerFeed was not successful. " - . "Waiting %d seconds before trying again.\n", $numberOfAttempts, - $sleepSeconds); - sleep($sleepSeconds); - } - } while ($numberOfAttempts < MAX_CUSTOMER_FEED_ADD_ATTEMPTS - && $addedCustomerFeed == NULL); - - if($addedCustomerFeed == null) { - throw new Exception('Could not create the CustomerFeed after ' - . MAX_CUSTOMER_FEED_ADD_ATTEMPTS . ' attempts. Please retry ' - . 'the CustomerFeed ADD operation later.'); - } - - printf("Added CustomerFeed for feed ID %d and placeholder type %d\n", - $addedCustomerFeed->feedId, $addedCustomerFeed->placeholderTypes[0]); - - // OPTIONAL: Create a CampaignFeed to specify which FeedItems to use at the - // Campaign level. This will be similar to the CampaignFeed in the - // AddSiteLinks example, except you can also filter based on the business - // name and category of each FeedItem by using a FeedAttributeOperand in - // your matching function. - - // OPTIONAL: Create an AdGroupFeed for even more fine grained control over - // which feed items are used at the AdGroup level. - -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddPlacesLocationExtensionsExample($user, PLACES_EMAIL_ADDRESS, - PLACES_ACCESS_TOKEN); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201409/AdvancedOperations/AddAdGroupBidModifier.php b/examples/AdWords/v201409/AdvancedOperations/AddAdGroupBidModifier.php index ee2e2252d..f746a6612 100755 --- a/examples/AdWords/v201409/AdvancedOperations/AddAdGroupBidModifier.php +++ b/examples/AdWords/v201409/AdvancedOperations/AddAdGroupBidModifier.php @@ -68,7 +68,7 @@ function AddAdGroupBidModifierExample(AdWordsUser $user, $adGroupId, foreach ($response->value as $modifier) { $value = 'none'; - if (!empty($modifier->bidModifier)) { + if (is_numeric($modifier->bidModifier)) { $value = $modifier->bidModifier; } printf( diff --git a/examples/AdWords/v201409/AdvancedOperations/AddPlacesLocationExtensions.php b/examples/AdWords/v201409/AdvancedOperations/AddPlacesLocationExtensions.php deleted file mode 100755 index 6ad4da9f1..000000000 --- a/examples/AdWords/v201409/AdvancedOperations/AddPlacesLocationExtensions.php +++ /dev/null @@ -1,184 +0,0 @@ -GetService('FeedService'); - - // Create a feed that will sync to the Google Places account specified - // by placesEmailAddress. Do not add FeedAttributes to this object, - // as AdWords will add them automatically because this will be a - // system generated feed. - $placesFeed = new Feed(); - $placesFeed->name = 'Places feed #' . uniqid(); - - $feedData = new PlacesLocationFeedData(); - $feedData->emailAddress = $placesEmailAddress; - $oAuthInfo = new OAuthInfo(); - $oAuthInfo->httpMethod = 'GET'; - $oAuthInfo->httpRequestUrl = 'https://www.google.com/local/add'; - $oAuthInfo->httpAuthorizationHeader = sprintf('Bearer %s', - $placesAccessToken); - $feedData->oAuthInfo = $oAuthInfo; - - $placesFeed->systemFeedGenerationData = $feedData; - - // Since this feed's feed items will be managed by AdWords, - // you must set its origin to ADWORDS. - $placesFeed->origin = 'ADWORDS'; - - // Create an operation to add the feed. - $feedOperation = new FeedOperation(); - $feedOperation->operand = $placesFeed; - $feedOperation->operator = 'ADD'; - - // Add the feed. Since it is a system generated feed, AdWords will - // automatically: - // 1. Set up the FeedAttributes on the feed. - // 2. Set up a FeedMapping that associates the FeedAttributes of the feed - // with the placeholder fields of the LOCATION placeholder type. - $addFeedResult = $feedService->mutate(array($feedOperation)); - $addedFeed = $addFeedResult->value[0]; - printf("Added places feed with ID %d\n", $addedFeed->id); - - $customerFeedService = $user->GetService('CustomerFeedService'); - - // Add a CustomerFeed that associates the feed with this customer for - // the LOCATION placeholder type. - $customerFeed = new CustomerFeed(); - $customerFeed->feedId = $addedFeed->id; - $customerFeed->placeholderTypes = array(PLACEHOLDER_LOCATION); - - // Create a matching function that will always evaluate to true. - $customerMatchingFunction = new FeedFunction(); - $constOperand = new ConstantOperand(); - $constOperand->type = 'BOOLEAN'; - $constOperand->booleanValue = true; - $customerMatchingFunction->lhsOperand = array($constOperand); - $customerMatchingFunction->operator = 'IDENTITY'; - $customerFeed->matchingFunction = $customerMatchingFunction; - - // Create an operation to add the customer feed. - $customerFeedOperation = new CustomerFeedOperation(); - $customerFeedOperation->operand = $customerFeed; - $customerFeedOperation->operator = 'ADD'; - - - // After the completion of the Feed ADD operation above the added feed will - // not be available for usage in a CustomerFeed until the sync between the - // AdWords and Places accounts completes. The loop below will retry adding - // the CustomerFeed up to ten times with an exponential back-off policy. - $addedCustomerFeed = NULL; - $numberOfAttempts = 0; - do { - $numberOfAttempts++; - try { - $customerFeedResult = - $customerFeedService->mutate(array($customerFeedOperation)); - $addedCustomerFeed = $customerFeedResult->value[0]; - printf("Attempt #%d to add the CustomerFeed was successful\n", - $numberOfAttempts); - } catch (Exception $e) { - // Wait using exponential backoff policy - $sleepSeconds = 5 * pow(2, $numberOfAttempts); - printf("Attempt #%d to add the CustomerFeed was not successful. " - . "Waiting %d seconds before trying again.\n", $numberOfAttempts, - $sleepSeconds); - sleep($sleepSeconds); - } - } while ($numberOfAttempts < MAX_CUSTOMER_FEED_ADD_ATTEMPTS - && $addedCustomerFeed == NULL); - - if($addedCustomerFeed == null) { - throw new Exception('Could not create the CustomerFeed after ' - . MAX_CUSTOMER_FEED_ADD_ATTEMPTS . ' attempts. Please retry ' - . 'the CustomerFeed ADD operation later.'); - } - - printf("Added CustomerFeed for feed ID %d and placeholder type %d\n", - $addedCustomerFeed->feedId, $addedCustomerFeed->placeholderTypes[0]); - - // OPTIONAL: Create a CampaignFeed to specify which FeedItems to use at the - // Campaign level. This will be similar to the CampaignFeed in the - // AddSiteLinks example, except you can also filter based on the business - // name and category of each FeedItem by using a FeedAttributeOperand in - // your matching function. - - // OPTIONAL: Create an AdGroupFeed for even more fine grained control over - // which feed items are used at the AdGroup level. - -} - -// Don't run the example if the file is being included. -if (__FILE__ != realpath($_SERVER['PHP_SELF'])) { - return; -} - -try { - // Get AdWordsUser from credentials in "../auth.ini" - // relative to the AdWordsUser.php file's directory. - $user = new AdWordsUser(); - - // Log every SOAP XML request and response. - $user->LogAll(); - - // Run the example. - AddPlacesLocationExtensionsExample($user, PLACES_EMAIL_ADDRESS, - PLACES_ACCESS_TOKEN); -} catch (Exception $e) { - printf("An error has occurred: %s\n", $e->getMessage()); -} diff --git a/examples/AdWords/v201409/AdvancedOperations/GetAdGroupBidModifiers.php b/examples/AdWords/v201409/AdvancedOperations/GetAdGroupBidModifiers.php index 5afd5e1e9..19beb6d6d 100755 --- a/examples/AdWords/v201409/AdvancedOperations/GetAdGroupBidModifiers.php +++ b/examples/AdWords/v201409/AdvancedOperations/GetAdGroupBidModifiers.php @@ -56,7 +56,7 @@ function GetAdGroupBidModifiersExample(AdWordsUser $user) { if (isset($page->entries)) { foreach ($page->entries as $modifier) { $value = 'none'; - if (!empty($modifier->bidModifier)) { + if (is_numeric($modifier->bidModifier)) { $value = $modifier->bidModifier; } printf("Campaign ID %d, AdGroup ID %d, Criterion ID %d has ad group " . diff --git a/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php b/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php index 961c6a1d8..569fd8d17 100755 --- a/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php +++ b/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php @@ -62,9 +62,6 @@ class AdWordsUser extends AdsUser { private $libVersion; private $libName; - private $defaultVersion; - private $defaultServer; - private $userAgent; /** @@ -116,8 +113,8 @@ public function __construct($authenticationIniPath = NULL, $apiProps = ApiPropertiesUtils::ParseApiPropertiesFile(dirname(__FILE__) . '/api.properties'); $versions = explode(',', $apiProps['api.versions']); - $this->defaultVersion = $versions[count($versions) - 1]; - $this->defaultServer = $apiProps['api.server']; + $defaultVersion = $versions[count($versions) - 1]; + $defaultServer = $apiProps['api.server']; if (isset($authenticationIniPath)) { $authenticationIni = @@ -157,8 +154,8 @@ public function __construct($authenticationIniPath = NULL, } $this->LoadSettings($settingsIniPath, - $this->defaultVersion, - $this->defaultServer, + $defaultVersion, + $defaultServer, getcwd(), dirname(__FILE__)); } diff --git a/src/Google/Api/Ads/AdWords/Lib/api.properties b/src/Google/Api/Ads/AdWords/Lib/api.properties index 83c1e5b9a..2101a289b 100755 --- a/src/Google/Api/Ads/AdWords/Lib/api.properties +++ b/src/Google/Api/Ads/AdWords/Lib/api.properties @@ -18,53 +18,9 @@ wsdl2php.skipClassNameCheckTypes=Target,Location ;; API api.server=https://adwords.google.com -api.versions=v201402,v201406,v201409 +api.versions=v201406,v201409 api.soapClientClassNamespace=Google_Api_Ads_AdWords_Lib -;; v201402 -api.versions.v201402.namespace=Google_Api_Ads_AdWords_v201402 -api.versions.v201402.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,AlertService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignAdExtensionService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,ExperimentService,FeedItemService,FeedMappingService,FeedService,GeoLocationService,LocationCriterionService,ManagedCustomerService,MediaService,MutateJobService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,ExpressBusinessService,ProductServiceService,PromotionService,CampaignSharedSetService,SharedCriterionService,SharedSetService -api.versions.v201402.services.AdGroupAdService.wsdl=${api.server}/api/adwords/cm/v201402/AdGroupAdService?wsdl -api.versions.v201402.services.AdGroupBidModifierService.wsdl=${api.server}/api/adwords/cm/v201402/AdGroupBidModifierService?wsdl -api.versions.v201402.services.AdGroupCriterionService.wsdl=${api.server}/api/adwords/cm/v201402/AdGroupCriterionService?wsdl -api.versions.v201402.services.AdGroupFeedService.wsdl=${api.server}/api/adwords/cm/v201402/AdGroupFeedService?wsdl -api.versions.v201402.services.AdGroupService.wsdl=${api.server}/api/adwords/cm/v201402/AdGroupService?wsdl -api.versions.v201402.services.AdParamService.wsdl=${api.server}/api/adwords/cm/v201402/AdParamService?wsdl -api.versions.v201402.services.AdwordsUserListService.wsdl=${api.server}/api/adwords/rm/v201402/AdwordsUserListService?wsdl -api.versions.v201402.services.AlertService.wsdl=${api.server}/api/adwords/mcm/v201402/AlertService?wsdl -api.versions.v201402.services.BiddingStrategyService.wsdl=${api.server}/api/adwords/cm/v201402/BiddingStrategyService?wsdl -api.versions.v201402.services.BudgetOrderService.wsdl=${api.server}/api/adwords/billing/v201402/BudgetOrderService?wsdl -api.versions.v201402.services.BudgetService.wsdl=${api.server}/api/adwords/cm/v201402/BudgetService?wsdl -api.versions.v201402.services.CampaignAdExtensionService.wsdl=${api.server}/api/adwords/cm/v201402/CampaignAdExtensionService?wsdl -api.versions.v201402.services.CampaignCriterionService.wsdl=${api.server}/api/adwords/cm/v201402/CampaignCriterionService?wsdl -api.versions.v201402.services.CampaignFeedService.wsdl=${api.server}/api/adwords/cm/v201402/CampaignFeedService?wsdl -api.versions.v201402.services.CampaignService.wsdl=${api.server}/api/adwords/cm/v201402/CampaignService?wsdl -api.versions.v201402.services.CampaignSharedSetService.wsdl=${api.server}/api/adwords/cm/v201402/CampaignSharedSetService?wsdl -api.versions.v201402.services.ConstantDataService.wsdl=${api.server}/api/adwords/cm/v201402/ConstantDataService?wsdl -api.versions.v201402.services.ConversionTrackerService.wsdl=${api.server}/api/adwords/cm/v201402/ConversionTrackerService?wsdl -api.versions.v201402.services.CustomerFeedService.wsdl=${api.server}/api/adwords/cm/v201402/CustomerFeedService?wsdl -api.versions.v201402.services.CustomerService.wsdl=${api.server}/api/adwords/mcm/v201402/CustomerService?wsdl -api.versions.v201402.services.CustomerSyncService.wsdl=${api.server}/api/adwords/ch/v201402/CustomerSyncService?wsdl -api.versions.v201402.services.DataService.wsdl=${api.server}/api/adwords/cm/v201402/DataService?wsdl -api.versions.v201402.services.ExperimentService.wsdl=${api.server}/api/adwords/cm/v201402/ExperimentService?wsdl -api.versions.v201402.services.ExpressBusinessService.wsdl=${api.server}/api/adwords/express/v201402/ExpressBusinessService?wsdl -api.versions.v201402.services.FeedItemService.wsdl=${api.server}/api/adwords/cm/v201402/FeedItemService?wsdl -api.versions.v201402.services.FeedMappingService.wsdl=${api.server}/api/adwords/cm/v201402/FeedMappingService?wsdl -api.versions.v201402.services.FeedService.wsdl=${api.server}/api/adwords/cm/v201402/FeedService?wsdl -api.versions.v201402.services.GeoLocationService.wsdl=${api.server}/api/adwords/cm/v201402/GeoLocationService?wsdl -api.versions.v201402.services.LocationCriterionService.wsdl=${api.server}/api/adwords/cm/v201402/LocationCriterionService?wsdl -api.versions.v201402.services.ManagedCustomerService.wsdl=${api.server}/api/adwords/mcm/v201402/ManagedCustomerService?wsdl -api.versions.v201402.services.MediaService.wsdl=${api.server}/api/adwords/cm/v201402/MediaService?wsdl -api.versions.v201402.services.MutateJobService.wsdl=${api.server}/api/adwords/cm/v201402/MutateJobService?wsdl -api.versions.v201402.services.OfflineConversionFeedService.wsdl=${api.server}/api/adwords/cm/v201402/OfflineConversionFeedService?wsdl -api.versions.v201402.services.ProductServiceService.wsdl=${api.server}/api/adwords/express/v201402/ProductServiceService?wsdl -api.versions.v201402.services.PromotionService.wsdl=${api.server}/api/adwords/express/v201402/PromotionService?wsdl -api.versions.v201402.services.ReportDefinitionService.wsdl=${api.server}/api/adwords/cm/v201402/ReportDefinitionService?wsdl -api.versions.v201402.services.SharedCriterionService.wsdl=${api.server}/api/adwords/cm/v201402/SharedCriterionService?wsdl -api.versions.v201402.services.SharedSetService.wsdl=${api.server}/api/adwords/cm/v201402/SharedSetService?wsdl -api.versions.v201402.services.TargetingIdeaService.wsdl=${api.server}/api/adwords/o/v201402/TargetingIdeaService?wsdl -api.versions.v201402.services.TrafficEstimatorService.wsdl=${api.server}/api/adwords/o/v201402/TrafficEstimatorService?wsdl - ;; v201406 api.versions.v201406.namespace=Google_Api_Ads_AdWords_v201406 api.versions.v201406.services=AdGroupAdService,AdGroupBidModifierService,AdGroupCriterionService,AdGroupFeedService,AdGroupService,AdParamService,AdwordsUserListService,AlertService,BiddingStrategyService,BudgetOrderService,BudgetService,CampaignAdExtensionService,CampaignCriterionService,CampaignFeedService,CampaignService,ConstantDataService,ConversionTrackerService,CustomerFeedService,CustomerService,CustomerSyncService,DataService,ExperimentService,FeedItemService,FeedMappingService,FeedService,GeoLocationService,LabelService,LocationCriterionService,ManagedCustomerService,MediaService,MutateJobService,OfflineConversionFeedService,ReportDefinitionService,TargetingIdeaService,TrafficEstimatorService,ExpressBusinessService,ProductServiceService,BudgetSuggestionService,PromotionService,CampaignSharedSetService,SharedCriterionService,SharedSetService diff --git a/src/Google/Api/Ads/AdWords/Util/ReportUtils.php b/src/Google/Api/Ads/AdWords/Util/ReportUtils.php index 044135f09..ddbed4c76 100755 --- a/src/Google/Api/Ads/AdWords/Util/ReportUtils.php +++ b/src/Google/Api/Ads/AdWords/Util/ReportUtils.php @@ -40,8 +40,6 @@ */ class ReportUtils { - const CLIENT_LOGIN_FORMAT = 'GoogleLogin auth=%s'; - const FINAL_RETURN_MONEY_IN_MICROS_VERSION = "v201402"; const MINIMUM_SKIP_HEADER_VERSION = "v201409"; /** @@ -84,8 +82,6 @@ private function __construct() {} * @param string $path an optional path of the file to download the report to * @param AdWordsUser $user the user that created the ReportDefinition * @param array $options the option to use when downloading the report: - * {boolean} returnMoneyInMicros: if the money values in the report - * should be returned in micros * {boolean} skipReportHeader: if report responses should skip the header * row containing the report name and date range * {boolean} skipReportSummary: if report responses should skip the @@ -334,12 +330,6 @@ private static function GetHeaders($user, $url, array $options = NULL) { . 'specified for report downloads.'); } // Flags. - if (isset($options['returnMoneyInMicros'])) { - DeprecationUtils::CheckUsingReturnMoneyInMicrosWithUnsupportedVersion( - self::FINAL_RETURN_MONEY_IN_MICROS_VERSION, $version); - $headers['returnMoneyInMicros'] = - $options['returnMoneyInMicros'] ? 'true' : 'false'; - } if (isset($options['skipReportHeader'])) { DeprecationUtils::CheckUsingSkipReportHeaderWithUnsupportedVersion( 'skipReportHeader', self::MINIMUM_SKIP_HEADER_VERSION, $version); diff --git a/src/Google/Api/Ads/AdWords/v201402/AdGroupAdService.php b/src/Google/Api/Ads/AdWords/v201402/AdGroupAdService.php deleted file mode 100755 index bc6693277..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdGroupAdService.php +++ /dev/null @@ -1,6934 +0,0 @@ -This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Ad"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $url; - - /** - * @access public - * @var string - */ - public $displayUrl; - - /** - * @access public - * @var integer - */ - public $devicePreference; - - /** - * @access public - * @var string - */ - public $AdType; - private $_parameterMap = array( - "Ad.Type" => "AdType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("AdGroupAd", false)) { - /** - * Represents an ad in an ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAd { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var Ad - */ - public $ad; - - /** - * @access public - * @var AdGroupAdExperimentData - */ - public $experimentData; - - /** - * @access public - * @var tnsAdGroupAdStatus - */ - public $status; - - /** - * @access public - * @var tnsAdGroupAdApprovalStatus - */ - public $approvalStatus; - - /** - * @access public - * @var string[] - */ - public $disapprovalReasons; - - /** - * @access public - * @var boolean - */ - public $trademarkDisapproved; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $ad = null, $experimentData = null, $status = null, $approvalStatus = null, $disapprovalReasons = null, $trademarkDisapproved = null, $forwardCompatibilityMap = null) { - $this->adGroupId = $adGroupId; - $this->ad = $ad; - $this->experimentData = $experimentData; - $this->status = $status; - $this->approvalStatus = $approvalStatus; - $this->disapprovalReasons = $disapprovalReasons; - $this->trademarkDisapproved = $trademarkDisapproved; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - } - - } -} - -if (!class_exists("AdGroupAdExperimentData", false)) { - /** - * Data associated with an advertiser experiment for an AdGroupAd - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - } - - } -} - -if (!class_exists("AdUnionId", false)) { - /** - * Represents an id indicating a grouping of Ads under some heuristic. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdUnionId { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdUnionId"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $AdUnionIdType; - private $_parameterMap = array( - "AdUnionId.Type" => "AdUnionIdType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdUnionIdType = null) { - $this->id = $id; - $this->AdUnionIdType = $AdUnionIdType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DeprecatedAd", false)) { - /** - * Represents a deprecated ad. - * - * Deprecated ads can be deleted, but cannot be created. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DeprecatedAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DeprecatedAd"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsDeprecatedAdType - */ - 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($name = null, $type = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->name = $name; - $this->type = $type; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("Dimensions", false)) { - /** - * Represents a simple height-width dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Dimensions { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Dimensions"; - - /** - * @access public - * @var integer - */ - public $width; - - /** - * @access public - * @var integer - */ - public $height; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->width = $width; - $this->height = $height; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExemptionRequest", false)) { - /** - * A request to be exempted from a {@link PolicyViolationError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExemptionRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExemptionRequest"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->key = $key; - } - - } -} - -if (!class_exists("ExperimentError", false)) { - /** - * The error reason represented by an enum. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError"; - - /** - * @access public - * @var tnsExperimentErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ForwardCompatibilityError", false)) { - /** - * A ForwardComptibilityError represents possible errors when using the forwardCompatibilityMap - * in some of the common services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError"; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ImageAd", false)) { - /** - * Represents an ImageAd. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ImageAd"; - - /** - * @access public - * @var Image - */ - public $image; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $adToCopyImageFrom; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($image = null, $name = null, $adToCopyImageFrom = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->image = $image; - $this->name = $name; - $this->adToCopyImageFrom = $adToCopyImageFrom; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("ImageError", false)) { - /** - * Error class for errors associated with parsing image data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Media", false)) { - /** - * Represents some kind of media. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media"; - - /** - * @access public - * @var integer - */ - public $mediaId; - - /** - * @access public - * @var tnsMediaMediaType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $referenceId; - - /** - * @access public - * @var Media_Size_DimensionsMapEntry[] - */ - public $dimensions; - - /** - * @access public - * @var Media_Size_StringMapEntry[] - */ - public $urls; - - /** - * @access public - * @var tnsMediaMimeType - */ - public $mimeType; - - /** - * @access public - * @var string - */ - public $sourceUrl; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $fileSize; - - /** - * @access public - * @var string - */ - public $creationTime; - - /** - * @access public - * @var string - */ - public $MediaType; - private $_parameterMap = array( - "Media.Type" => "MediaType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("MediaError", false)) { - /** - * Error class for media related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError"; - - /** - * @access public - * @var tnsMediaErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Media_Size_DimensionsMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type Dimensions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_DimensionsMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_DimensionsMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - public $key; - - /** - * @access public - * @var Dimensions - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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("Media_Size_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_StringMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - 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("MobileAd", false)) { - /** - * Represents a mobile ad. - * - *

- * A mobile ad can contain a click-to-call phone number, a link to a website, - * or both. You specify which features you want by setting certain fields, as - * shown in the following table. For example, to create a click-to-call mobile - * ad, set the fields in the Click-to-call column. A hyphen indicates - * that you should not set the corresponding field. - *

- *

- * For more information, see - * - * Create a mobile ad. - *

- * - * - * - * - * - * - * - * - *
Click-to-call Website Both
headline
- * description
- * mobileCarriers
- * phoneNumber
- * countryCode
- * businessName
- * -
- * -
- * -
- *
headline
- * description
- * mobileCarriers
- * -
- * -
- * -
- * displayUrl
- * destinationUrl
- * markupLanguages
- *
headline
- * description
- * mobileCarriers
- * phoneNumber
- * countryCode
- * businessName
- * displayUrl
- * destinationUrl
- * markupLanguages
- *
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAd"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $description; - - /** - * @access public - * @var tnsMarkupLanguageType[] - */ - public $markupLanguages; - - /** - * @access public - * @var string[] - */ - public $mobileCarriers; - - /** - * @access public - * @var string - */ - public $businessName; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * @access public - * @var string - */ - public $phoneNumber; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($headline = null, $description = null, $markupLanguages = null, $mobileCarriers = null, $businessName = null, $countryCode = null, $phoneNumber = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->headline = $headline; - $this->description = $description; - $this->markupLanguages = $markupLanguages; - $this->mobileCarriers = $mobileCarriers; - $this->businessName = $businessName; - $this->countryCode = $countryCode; - $this->phoneNumber = $phoneNumber; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("MobileImageAd", false)) { - /** - * Represents a mobile image ad. - * - *

For more information, see - * - * Create a mobile ad.

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileImageAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileImageAd"; - - /** - * @access public - * @var tnsMarkupLanguageType[] - */ - public $markupLanguages; - - /** - * @access public - * @var string[] - */ - public $mobileCarriers; - - /** - * @access public - * @var Image - */ - public $image; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($markupLanguages = null, $mobileCarriers = null, $image = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->markupLanguages = $markupLanguages; - $this->mobileCarriers = $mobileCarriers; - $this->image = $image; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationError", false)) { - /** - * Represents violations of a single policy by some text in a field. - * - * Violations of a single policy by the same string in multiple places - * within a field is reported in one instance of this class and only one - * exemption needs to be filed. - * Violations of a single policy by two different strings is reported - * as two separate instances of this class. - * - * e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it - * would be represented by one instance. If the ad also contains 'INC' which - * also violates 'capitalization' it would be represented in a separate - * instance. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; - - /** - * @access public - * @var string - */ - public $externalPolicyUrl; - - /** - * @access public - * @var string - */ - public $externalPolicyDescription; - - /** - * @access public - * @var boolean - */ - public $isExemptable; - - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationErrorPart", false)) { - /** - * Points to a substring within an ad field or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $length = null) { - $this->index = $index; - $this->length = $length; - } - - } -} - -if (!class_exists("PolicyViolationKey", false)) { - /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; - - /** - * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("ProductAd", false)) { - /** - * Represents a product ad (known as a product - * listing ad in the AdWords user interface). A product ad displays - * product data (managed using the Google Merchant Center) that is - * pulled from the Google base product feed specified in the parent campaign's - * {@linkplain ShoppingSetting shopping setting}. - * - *

Caution: Product ads do not use {@link #url url} or - * {@link #displayUrl displayUrl}; setting these fields on a product ad will - * cause an error.

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAd"; - - /** - * @access public - * @var string - */ - public $promotionLine; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($promotionLine = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->promotionLine = $promotionLine; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RichMediaAd", false)) { - /** - * Data associated with a rich media ad. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var Dimensions - */ - public $dimensions; - - /** - * @access public - * @var string - */ - public $snippet; - - /** - * @access public - * @var string - */ - public $impressionBeaconUrl; - - /** - * @access public - * @var integer - */ - public $adDuration; - - /** - * @access public - * @var integer - */ - public $certifiedVendorFormatId; - - /** - * @access public - * @var string - */ - public $sourceUrl; - - /** - * @access public - * @var tnsRichMediaAdRichMediaAdType - */ - public $richMediaAdType; - - /** - * @access public - * @var tnsRichMediaAdAdAttribute[] - */ - public $adAttributes; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->name = $name; - $this->dimensions = $dimensions; - $this->snippet = $snippet; - $this->impressionBeaconUrl = $impressionBeaconUrl; - $this->adDuration = $adDuration; - $this->certifiedVendorFormatId = $certifiedVendorFormatId; - $this->sourceUrl = $sourceUrl; - $this->richMediaAdType = $richMediaAdType; - $this->adAttributes = $adAttributes; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("TempAdUnionId", false)) { - /** - * Represents the temporary id for an ad union id, which the user can specify. - * The temporary id can be used to group ads together during ad creation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TempAdUnionId extends AdUnionId { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TempAdUnionId"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdUnionIdType = null) { - parent::__construct(); - $this->id = $id; - $this->AdUnionIdType = $AdUnionIdType; - } - - } -} - -if (!class_exists("TemplateAd", false)) { - /** - * Represents a Display Ad Builder template ad. A template ad is - * composed of a template (specified by its ID) and the data that populates - * the template's fields. For a list of available templates and their required - * fields, see Template Ads. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateAd"; - - /** - * @access public - * @var integer - */ - public $templateId; - - /** - * @access public - * @var AdUnionId - */ - public $adUnionId; - - /** - * @access public - * @var TemplateElement[] - */ - public $templateElements; - - /** - * @access public - * @var Image - */ - public $adAsImage; - - /** - * @access public - * @var Dimensions - */ - public $dimensions; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $duration; - - /** - * @access public - * @var integer - */ - public $originAdId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($templateId = null, $adUnionId = null, $templateElements = null, $adAsImage = null, $dimensions = null, $name = null, $duration = null, $originAdId = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->templateId = $templateId; - $this->adUnionId = $adUnionId; - $this->templateElements = $templateElements; - $this->adAsImage = $adAsImage; - $this->dimensions = $dimensions; - $this->name = $name; - $this->duration = $duration; - $this->originAdId = $originAdId; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("TemplateElement", false)) { - /** - * Represents an element in a template. Each template element is composed - * of a list of fields (actual value data). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElement { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElement"; - - /** - * @access public - * @var string - */ - public $uniqueName; - - /** - * @access public - * @var TemplateElementField[] - */ - public $fields; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($uniqueName = null, $fields = null) { - $this->uniqueName = $uniqueName; - $this->fields = $fields; - } - - } -} - -if (!class_exists("TemplateElementField", false)) { - /** - * Represents a field in a template element. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElementField { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElementField"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsTemplateElementFieldType - */ - public $type; - - /** - * @access public - * @var string - */ - public $fieldText; - - /** - * @access public - * @var Media - */ - public $fieldMedia; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $fieldText = null, $fieldMedia = null) { - $this->name = $name; - $this->type = $type; - $this->fieldText = $fieldText; - $this->fieldMedia = $fieldMedia; - } - - } -} - -if (!class_exists("TextAd", false)) { - /** - * Represents a TextAd. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TextAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TextAd"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $description1; - - /** - * @access public - * @var string - */ - public $description2; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($headline = null, $description1 = null, $description2 = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->headline = $headline; - $this->description1 = $description1; - $this->description2 = $description2; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("ThirdPartyRedirectAd", false)) { - /** - * Data associated with rich media extension attributes. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ThirdPartyRedirectAd extends RichMediaAd { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ThirdPartyRedirectAd"; - - /** - * @access public - * @var boolean - */ - public $isCookieTargeted; - - /** - * @access public - * @var boolean - */ - public $isUserInterestTargeted; - - /** - * @access public - * @var boolean - */ - public $isTagged; - - /** - * @access public - * @var tnsVideoType[] - */ - public $videoTypes; - - /** - * @access public - * @var tnsThirdPartyRedirectAdExpandingDirection[] - */ - public $expandingDirections; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($isCookieTargeted = null, $isUserInterestTargeted = null, $isTagged = null, $videoTypes = null, $expandingDirections = null, $name = null, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = null) { - parent::__construct(); - $this->isCookieTargeted = $isCookieTargeted; - $this->isUserInterestTargeted = $isUserInterestTargeted; - $this->isTagged = $isTagged; - $this->videoTypes = $videoTypes; - $this->expandingDirections = $expandingDirections; - $this->name = $name; - $this->dimensions = $dimensions; - $this->snippet = $snippet; - $this->impressionBeaconUrl = $impressionBeaconUrl; - $this->adDuration = $adDuration; - $this->certifiedVendorFormatId = $certifiedVendorFormatId; - $this->sourceUrl = $sourceUrl; - $this->richMediaAdType = $richMediaAdType; - $this->adAttributes = $adAttributes; - } - - } -} - -if (!class_exists("Video", false)) { - /** - * Encapsulates a Video media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Video extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Video"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * @access public - * @var string - */ - public $industryStandardCommercialIdentifier; - - /** - * @access public - * @var string - */ - public $advertisingId; - - /** - * @access public - * @var string - */ - public $youTubeVideoIdString; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->industryStandardCommercialIdentifier = $industryStandardCommercialIdentifier; - $this->advertisingId = $advertisingId; - $this->youTubeVideoIdString = $youTubeVideoIdString; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("DynamicSearchAd", false)) { - /** - * Represents a dynamic search ad. This ad will have its headline and - * destination URL auto-generated at serving time according to domain name - * specific information provided by {@link DomainInfoExtension} linked at the - * campaign level. - * - *

Auto-generated fields: headline and destination URL (may contain an optional - * tracking URL).

- * - *

Required fields: {@code description1}, {@code description2}, - * {@code displayUrl}.

- * - *

The URL field must contain at least one of the following placeholder tags - * (URL parameters):

- * - * - *

If no URL is specified, {unescapedlpurl} will be used as default.

- * - * - * - *

There are also special rules that come into play depending on whether the - * destination URL uses local click tracking or third-party click tracking.

- * - *

Note that {@code finalUrls} and {@code finalMobileUrls} - * cannot be set for dynamic search ads.

- * - *

For more information, see the article - * Using dynamic tracking URLs. - *

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DynamicSearchAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DynamicSearchAd"; - - /** - * @access public - * @var string - */ - public $description1; - - /** - * @access public - * @var string - */ - public $description2; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($description1 = null, $description2 = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->description1 = $description1; - $this->description2 = $description2; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("AdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupAdApprovalStatus", false)) { - /** - * Represents the possible approval statuses. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupAdStatus", false)) { - /** - * The current status of an Ad. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd.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("AdGroupAdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DeprecatedAdType", false)) { - /** - * Video ad. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DeprecatedAdType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DeprecatedAd.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("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDataStatus", false)) { - /** - * Status of the experimental change associated with an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDataStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDataStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDeltaStatus", false)) { - /** - * Status of an entity denoting its type of experimental change in a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDeltaStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDeltaStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ForwardCompatibilityErrorReason", false)) { - /** - * The reason for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 image is not valid. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MarkupLanguageType", false)) { - /** - * Markup languages to use for mobile ads. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MarkupLanguageType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MarkupLanguageType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaMediaType", false)) { - /** - * Media types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMediaType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.MediaType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaMimeType", false)) { - /** - * Mime types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMimeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.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("MediaSize", false)) { - /** - * Sizes for retrieving the original media - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaSize { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.Size"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RichMediaAdAdAttribute", false)) { - /** - * A set of attributes that describe the rich media ad capabilities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAdAdAttribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd.AdAttribute"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RichMediaAdRichMediaAdType", false)) { - /** - * Different types of rich media ad that are available to customers. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAdRichMediaAdType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd.RichMediaAdType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("TemplateElementFieldType", false)) { - /** - * Possible field types of template element fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElementFieldType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElementField.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("ThirdPartyRedirectAdExpandingDirection", false)) { - /** - * Allowed expanding directions for ads that are expandable. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ThirdPartyRedirectAdExpandingDirection { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ThirdPartyRedirectAd.ExpandingDirection"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("VideoType", false)) { - /** - * VideoType enum values that are permitted for video filterable - * creative attribute IDs. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class VideoType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "VideoType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupAdServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupAds. - * AdGroupAds that had been removed are not returned by default. - * - * @param serviceSelector The selector specifying the {@link AdGroupAd}s to return. - * @return The page containing the AdGroupAds that meet the criteria specified by the selector. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("AdGroupAdServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupAdPage - */ - 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("AdGroupAdServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations (ie. add, set, remove): - *

Add - Creates a new {@linkplain AdGroupAd ad group ad}. The - * {@code adGroupId} must - * reference an existing ad group. The child {@code Ad} must be sufficiently - * specified by constructing a concrete ad type (such as {@code TextAd}) - * and setting its fields accordingly.

- *

Set - Updates an ad group ad. Except for {@code status}, - * ad group ad fields are not mutable. Status updates are - * straightforward - the status of the ad group ad is updated as - * specified. If any other field has changed, it will be ignored. If - * you want to change any of the fields other than status, you must - * make a new ad and then remove the old one.

- *

Remove - Removes the link between the specified AdGroup and - * Ad.

- * @param operations The operations to apply. - * @return A list of AdGroupAds where each entry in the list is the result of - * applying the operation in the input list with the same index. For an - * add/set operation, the return AdGroupAd will be what is saved to the db. - * In the case of the remove operation, the return AdGroupAd will simply be - * an AdGroupAd containing an Ad with the id set to the Ad being removed from - * the AdGroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupAdOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdGroupAdServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupAdReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupAds based on the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of AdGroupAds. - * @throws ApiException if problems occur while parsing the query or fetching AdGroupAds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupAdPage - */ - 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("AdError", false)) { - /** - * Base error class for Ad Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdError"; - - /** - * @access public - * @var tnsAdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupAdCountLimitExceeded", false)) { - /** - * Indicates too many ads were added/enabled under the specified adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdCountLimitExceeded extends EntityCountLimitExceeded { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdCountLimitExceeded"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - } - - } -} - -if (!class_exists("AdGroupAdError", false)) { - /** - * Error information for AdGroupAdService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdError"; - - /** - * @access public - * @var tnsAdGroupAdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupAdOperation", false)) { - /** - * AdGroupAd service operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdOperation"; - - /** - * @access public - * @var AdGroupAd - */ - public $operand; - - /** - * @access public - * @var ExemptionRequest[] - */ - public $exemptionRequests; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $exemptionRequests = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->exemptionRequests = $exemptionRequests; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupAdPage", false)) { - /** - * Represents a page of {@link AdGroupAd}s resulting from the query done by - * {@link AdGroupAdService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdPage"; - - /** - * @access public - * @var AdGroupAd[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupAdReturnValue", false)) { - /** - * A container for return values from the AdGroupAdService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdReturnValue"; - - /** - * @access public - * @var AdGroupAd[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Audio", false)) { - /** - * Encapsulates an Audio media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Audio extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Audio"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("Image", false)) { - /** - * Encapsulates an Image media. For {@code SET},{@code REMOVE} operations in - * MediaService, use {@code mediaId}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Image extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Image"; - - /** - * @access public - * @var base64Binary - */ - public $data; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($data = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->data = $data; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("AdGroupAdService", false)) { - /** - * AdGroupAdService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdGroupAdService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupAdService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupAdService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Ad" => "Ad", - "AdError" => "AdError", - "AdGroupAd" => "AdGroupAd", - "AdGroupAdCountLimitExceeded" => "AdGroupAdCountLimitExceeded", - "AdGroupAdError" => "AdGroupAdError", - "AdGroupAdExperimentData" => "AdGroupAdExperimentData", - "AdGroupAdOperation" => "AdGroupAdOperation", - "AdGroupAdPage" => "AdGroupAdPage", - "AdGroupAdReturnValue" => "AdGroupAdReturnValue", - "AdUnionId" => "AdUnionId", - "AdxError" => "AdxError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Audio" => "Audio", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DeprecatedAd" => "DeprecatedAd", - "Dimensions" => "Dimensions", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "ExemptionRequest" => "ExemptionRequest", - "ExperimentError" => "ExperimentError", - "ForwardCompatibilityError" => "ForwardCompatibilityError", - "IdError" => "IdError", - "Image" => "Image", - "ImageAd" => "ImageAd", - "ImageError" => "ImageError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "Media" => "Media", - "MediaError" => "MediaError", - "Media_Size_DimensionsMapEntry" => "Media_Size_DimensionsMapEntry", - "Media_Size_StringMapEntry" => "Media_Size_StringMapEntry", - "MobileAd" => "MobileAd", - "MobileImageAd" => "MobileImageAd", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "PagingError" => "PagingError", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "Predicate" => "Predicate", - "ProductAd" => "ProductAd", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "RichMediaAd" => "RichMediaAd", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "TempAdUnionId" => "TempAdUnionId", - "TemplateAd" => "TemplateAd", - "TemplateElement" => "TemplateElement", - "TemplateElementField" => "TemplateElementField", - "TextAd" => "TextAd", - "ThirdPartyRedirectAd" => "ThirdPartyRedirectAd", - "Video" => "Video", - "DynamicSearchAd" => "DynamicSearchAd", - "AdError.Reason" => "AdErrorReason", - "AdGroupAd.ApprovalStatus" => "AdGroupAdApprovalStatus", - "AdGroupAd.Status" => "AdGroupAdStatus", - "AdGroupAdError.Reason" => "AdGroupAdErrorReason", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DeprecatedAd.Type" => "DeprecatedAdType", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ExperimentDataStatus" => "ExperimentDataStatus", - "ExperimentDeltaStatus" => "ExperimentDeltaStatus", - "ExperimentError.Reason" => "ExperimentErrorReason", - "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", - "IdError.Reason" => "IdErrorReason", - "ImageError.Reason" => "ImageErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "MarkupLanguageType" => "MarkupLanguageType", - "Media.MediaType" => "MediaMediaType", - "Media.MimeType" => "MediaMimeType", - "Media.Size" => "MediaSize", - "MediaError.Reason" => "MediaErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "RichMediaAd.AdAttribute" => "RichMediaAdAdAttribute", - "RichMediaAd.RichMediaAdType" => "RichMediaAdRichMediaAdType", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "TemplateElementField.Type" => "TemplateElementFieldType", - "ThirdPartyRedirectAd.ExpandingDirection" => "ThirdPartyRedirectAdExpandingDirection", - "VideoType" => "VideoType", - "get" => "AdGroupAdServiceGet", - "getResponse" => "AdGroupAdServiceGetResponse", - "mutate" => "AdGroupAdServiceMutate", - "mutateResponse" => "AdGroupAdServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupAds. - * AdGroupAds that had been removed are not returned by default. - * - * @param serviceSelector The selector specifying the {@link AdGroupAd}s to return. - * @return The page containing the AdGroupAds that meet the criteria specified by the selector. - * @throws ApiException when there is at least one error with the request. - */ - public function get($serviceSelector) { - $args = new AdGroupAdServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations (ie. add, set, remove): - *

Add - Creates a new {@linkplain AdGroupAd ad group ad}. The - * {@code adGroupId} must - * reference an existing ad group. The child {@code Ad} must be sufficiently - * specified by constructing a concrete ad type (such as {@code TextAd}) - * and setting its fields accordingly.

- *

Set - Updates an ad group ad. Except for {@code status}, - * ad group ad fields are not mutable. Status updates are - * straightforward - the status of the ad group ad is updated as - * specified. If any other field has changed, it will be ignored. If - * you want to change any of the fields other than status, you must - * make a new ad and then remove the old one.

- *

Remove - Removes the link between the specified AdGroup and - * Ad.

- * @param operations The operations to apply. - * @return A list of AdGroupAds where each entry in the list is the result of - * applying the operation in the input list with the same index. For an - * add/set operation, the return AdGroupAd will be what is saved to the db. - * In the case of the remove operation, the return AdGroupAd will simply be - * an AdGroupAd containing an Ad with the id set to the Ad being removed from - * the AdGroup. - */ - public function mutate($operations) { - $args = new AdGroupAdServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupAds based on the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of AdGroupAds. - * @throws ApiException if problems occur while parsing the query or fetching AdGroupAds. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdGroupBidModifierService.php b/src/Google/Api/Ads/AdWords/v201402/AdGroupBidModifierService.php deleted file mode 100755 index c49ffe4a8..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdGroupBidModifierService.php +++ /dev/null @@ -1,3646 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdGroupBidModifier", false)) { - /** - * Represents an adgroup level bid modifier override for campaign level criterion - * bid modifier values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifier"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var tnsBidModifierSource - */ - public $bidModifierSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupId = null, $criterion = null, $bidModifier = null, $bidModifierSource = null) { - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->bidModifierSource = $bidModifierSource; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidModifierSource", false)) { - /** - * Enumerates possible sources for bid modifier. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidModifierSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidModifierSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * Concrete type of criterion is required for ADD and SET operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AdGroupBidModifierServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets ad group level criterion bid modifiers. - * - * @param selector The selector specifying the {@link AdGroupBidModifier}s to return. - * @return A list of ad group bid modifiers. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("AdGroupBidModifierServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidModifierPage - */ - 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("AdGroupBidModifierServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE, SET. - * - * - * - * Adds, removes or updates ad group bid modifier overrides. - * - * @param operations The operations to apply. - * @return The added ad group bid modifier overrides. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidModifierOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdGroupBidModifierServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidModifierReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidModifier}s that match the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidModifierPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * Error class used for reporting criteria related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Platform", false)) { - /** - * Represents Platform criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Platform extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Platform"; - - /** - * @access public - * @var string - */ - public $platformName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($platformName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->platformName = $platformName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AdGroupBidModifierOperation", false)) { - /** - * Operation used to create or mutate a AdGroupBidModifier. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifierOperation"; - - /** - * @access public - * @var AdGroupBidModifier - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupBidModifierPage", false)) { - /** - * Contains a subset of adgroup bid modifiers resulting from a call to - * {@link AdGroupBidModifierService#get}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifierPage"; - - /** - * @access public - * @var AdGroupBidModifier[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupBidModifierReturnValue", false)) { - /** - * A container for return values from the AdGroupBidModifierService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifierReturnValue"; - - /** - * @access public - * @var AdGroupBidModifier[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("AdGroupBidModifierService", false)) { - /** - * AdGroupBidModifierService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdGroupBidModifierService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupBidModifierService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupBidModifierService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CriterionError" => "CriterionError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Platform" => "Platform", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "Criterion" => "Criterion", - "AdGroupBidModifier" => "AdGroupBidModifier", - "AdGroupBidModifierOperation" => "AdGroupBidModifierOperation", - "AdGroupBidModifierPage" => "AdGroupBidModifierPage", - "AdGroupBidModifierReturnValue" => "AdGroupBidModifierReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BidModifierSource" => "BidModifierSource", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "AdGroupBidModifierServiceGet", - "getResponse" => "AdGroupBidModifierServiceGetResponse", - "mutate" => "AdGroupBidModifierServiceMutate", - "mutateResponse" => "AdGroupBidModifierServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets ad group level criterion bid modifiers. - * - * @param selector The selector specifying the {@link AdGroupBidModifier}s to return. - * @return A list of ad group bid modifiers. - * @throws ApiException when there is at least one error with the request. - */ - public function get($selector) { - $args = new AdGroupBidModifierServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE, SET. - * - * - * - * Adds, removes or updates ad group bid modifier overrides. - * - * @param operations The operations to apply. - * @return The added ad group bid modifier overrides. - * @throws ApiException when there is at least one error with the request. - */ - public function mutate($operations) { - $args = new AdGroupBidModifierServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidModifier}s that match the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdGroupCriterionService.php b/src/Google/Api/Ads/AdWords/v201402/AdGroupCriterionService.php deleted file mode 100755 index 53f06f80a..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdGroupCriterionService.php +++ /dev/null @@ -1,8916 +0,0 @@ - "AdGroupCriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("AdGroupCriterionExperimentBidMultiplier", false)) { - /** - * Bid multiplier used to modify the bid of a criterion while running - * an experiment. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionExperimentBidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionExperimentBidMultiplier"; - - /** - * @access public - * @var string - */ - public $AdGroupCriterionExperimentBidMultiplierType; - private $_parameterMap = array( - "AdGroupCriterionExperimentBidMultiplier.Type" => "AdGroupCriterionExperimentBidMultiplierType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdGroupCriterionExperimentBidMultiplierType = null) { - $this->AdGroupCriterionExperimentBidMultiplierType = $AdGroupCriterionExperimentBidMultiplierType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Bid", false)) { - /** - * Represents a bid of a certain amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bid { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bid"; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($amount = null) { - $this->amount = $amount; - } - - } -} - -if (!class_exists("BidMultiplier", false)) { - /** - * Represents a multiplier to modify a bid. The final value after - * modification is represented by the multiplied bid value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidMultiplier"; - - /** - * @access public - * @var double - */ - public $multiplier; - - /** - * @access public - * @var Bid - */ - public $multipliedBid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($multiplier = null, $multipliedBid = null) { - $this->multiplier = $multiplier; - $this->multipliedBid = $multipliedBid; - } - - } -} - -if (!class_exists("BiddableAdGroupCriterion", false)) { - /** - * A biddable (positive) criterion in an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddableAdGroupCriterion extends AdGroupCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddableAdGroupCriterion"; - - /** - * @access public - * @var tnsUserStatus - */ - public $userStatus; - - /** - * @access public - * @var tnsSystemServingStatus - */ - public $systemServingStatus; - - /** - * @access public - * @var tnsApprovalStatus - */ - public $approvalStatus; - - /** - * @access public - * @var string[] - */ - public $disapprovalReasons; - - /** - * @access public - * @var string - */ - public $destinationUrl; - - /** - * @access public - * @var BiddableAdGroupCriterionExperimentData - */ - public $experimentData; - - /** - * @access public - * @var Bid - */ - public $firstPageCpc; - - /** - * @access public - * @var Bid - */ - public $topOfPageCpc; - - /** - * @access public - * @var QualityInfo - */ - public $qualityInfo; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userStatus = null, $systemServingStatus = null, $approvalStatus = null, $disapprovalReasons = null, $destinationUrl = null, $experimentData = null, $firstPageCpc = null, $topOfPageCpc = null, $qualityInfo = null, $biddingStrategyConfiguration = null, $bidModifier = null, $adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - parent::__construct(); - $this->userStatus = $userStatus; - $this->systemServingStatus = $systemServingStatus; - $this->approvalStatus = $approvalStatus; - $this->disapprovalReasons = $disapprovalReasons; - $this->destinationUrl = $destinationUrl; - $this->experimentData = $experimentData; - $this->firstPageCpc = $firstPageCpc; - $this->topOfPageCpc = $topOfPageCpc; - $this->qualityInfo = $qualityInfo; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->bidModifier = $bidModifier; - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("BiddableAdGroupCriterionExperimentData", false)) { - /** - * Data associated with an advertiser experiment for this {@link BiddableAdGroupCriterion}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddableAdGroupCriterionExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddableAdGroupCriterionExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * @access public - * @var AdGroupCriterionExperimentBidMultiplier - */ - public $experimentBidMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null, $experimentBidMultiplier = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - $this->experimentBidMultiplier = $experimentBidMultiplier; - } - - } -} - -if (!class_exists("BiddingError", false)) { - /** - * Represents bidding errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError"; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingErrors", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrors extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors"; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingScheme", false)) { - /** - * Base class for all bidding schemes. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingScheme"; - - /** - * @access public - * @var string - */ - public $BiddingSchemeType; - private $_parameterMap = array( - "BiddingScheme.Type" => "BiddingSchemeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BiddingStrategyConfiguration", false)) { - /** - * Encapsulates the information about bids and bidding strategies. - * - * Bidding Strategy can be set on campaigns, ad groups or ad group criteria. - * A bidding strategy can be set using one of the following: - * - * If the bidding strategy type is used, then schemes are created using default values. - * - * Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. - * Multiple bids can be set at the same time. Only the bids that apply to the campaign's - * {@linkplain Campaign#biddingStrategyConfiguration bidding strategy} will be used. - * - * For more information on flexible bidding, visit the - * Help Center. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyConfiguration { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyConfiguration"; - - /** - * @access public - * @var integer - */ - public $biddingStrategyId; - - /** - * @access public - * @var string - */ - public $biddingStrategyName; - - /** - * @access public - * @var tnsBiddingStrategyType - */ - public $biddingStrategyType; - - /** - * @access public - * @var tnsBiddingStrategySource - */ - public $biddingStrategySource; - - /** - * @access public - * @var BiddingScheme - */ - public $biddingScheme; - - /** - * @access public - * @var Bids[] - */ - public $bids; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($biddingStrategyId = null, $biddingStrategyName = null, $biddingStrategyType = null, $biddingStrategySource = null, $biddingScheme = null, $bids = null) { - $this->biddingStrategyId = $biddingStrategyId; - $this->biddingStrategyName = $biddingStrategyName; - $this->biddingStrategyType = $biddingStrategyType; - $this->biddingStrategySource = $biddingStrategySource; - $this->biddingScheme = $biddingScheme; - $this->bids = $bids; - } - - } -} - -if (!class_exists("Bids", false)) { - /** - * Base class for all bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bids"; - - /** - * @access public - * @var string - */ - public $BidsType; - private $_parameterMap = array( - "Bids.Type" => "BidsType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BidsType = null) { - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("BudgetOptimizerBiddingScheme", false)) { - /** - * In budget optimizer, Google automatically places bids for the user based on - * their daily/monthly budget. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOptimizerBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingScheme", false)) { - /** - * Conversion optimizer bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - *

{@code pricingMode} currently defaults to {@code CLICKS} and - * cannot be changed.

- * - *

Note that campaigns must meet - * specific eligibility requirements before they can use the - * ConversionOptimizer bidding strategy.

- * - *

For more information on conversion optimizer, visit the - * Conversion Optimizer help center.

- * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme"; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemePricingMode - */ - public $pricingMode; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemeBidType - */ - public $bidType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($pricingMode = null, $bidType = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->pricingMode = $pricingMode; - $this->bidType = $bidType; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("CpaBid", false)) { - /** - * CPA Bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpaBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpcBid", false)) { - /** - * Manual click based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpcBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpcBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var Money - */ - public $contentBid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpcBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $contentBid = null, $cpcBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->contentBid = $contentBid; - $this->cpcBidSource = $cpcBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpmBid", false)) { - /** - * Manual impression based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpmBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpmBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpmBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $cpmBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->cpmBidSource = $cpmBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * Error class used for reporting criteria related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionParameter", false)) { - /** - * Base type of criterion parameters. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionParameter"; - - /** - * @access public - * @var string - */ - public $CriterionParameterType; - private $_parameterMap = array( - "CriterionParameter.Type" => "CriterionParameterType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($CriterionParameterType = null) { - $this->CriterionParameterType = $CriterionParameterType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EnhancedCpcBiddingScheme", false)) { - /** - * Enhanced CPC is a bidding strategy that raises your bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less likely. - * - * This bidding scheme does not support criteria level bidding strategy overrides. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EnhancedCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EnhancedCpcBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("EntityAccessDenied", false)) { - /** - * Reports permission problems trying to access an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied"; - - /** - * @access public - * @var tnsEntityAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExemptionRequest", false)) { - /** - * A request to be exempted from a {@link PolicyViolationError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExemptionRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExemptionRequest"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->key = $key; - } - - } -} - -if (!class_exists("ExperimentError", false)) { - /** - * The error reason represented by an enum. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError"; - - /** - * @access public - * @var tnsExperimentErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ForwardCompatibilityError", false)) { - /** - * A ForwardComptibilityError represents possible errors when using the forwardCompatibilityMap - * in some of the common services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError"; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Gender", false)) { - /** - * Represents a Gender criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Gender extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender"; - - /** - * @access public - * @var tnsGenderGenderType - */ - public $genderType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($genderType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->genderType = $genderType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ManualCPCAdGroupCriterionExperimentBidMultiplier", false)) { - /** - * AdGroupCriterion level bid multiplier used in manual CPC bidding strategies. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPCAdGroupCriterionExperimentBidMultiplier extends AdGroupCriterionExperimentBidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPCAdGroupCriterionExperimentBidMultiplier"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpcMultiplier; - - /** - * @access public - * @var tnsMultiplierSource - */ - public $multiplierSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpcMultiplier = null, $multiplierSource = null, $AdGroupCriterionExperimentBidMultiplierType = null) { - parent::__construct(); - $this->maxCpcMultiplier = $maxCpcMultiplier; - $this->multiplierSource = $multiplierSource; - $this->AdGroupCriterionExperimentBidMultiplierType = $AdGroupCriterionExperimentBidMultiplierType; - } - - } -} - -if (!class_exists("ManualCpcBiddingScheme", false)) { - /** - * Manual click based bidding where user pays per click. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpcBiddingScheme"; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCpmBiddingScheme", false)) { - /** - * Manual impression based bidding where user pays per thousand impressions. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpmBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpmBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NegativeAdGroupCriterion", false)) { - /** - * A negative criterion in an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeAdGroupCriterion extends AdGroupCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NegativeAdGroupCriterion"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - parent::__construct(); - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("PageOnePromotedBiddingScheme", false)) { - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme"; - - /** - * @access public - * @var tnsPageOnePromotedBiddingSchemeStrategyGoal - */ - public $strategyGoal; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var boolean - */ - public $bidChangesForRaisesOnly; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenBudgetConstained; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenLowQualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($strategyGoal = null, $bidCeiling = null, $bidModifier = null, $bidChangesForRaisesOnly = null, $raiseBidWhenBudgetConstained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->strategyGoal = $strategyGoal; - $this->bidCeiling = $bidCeiling; - $this->bidModifier = $bidModifier; - $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; - $this->raiseBidWhenBudgetConstained = $raiseBidWhenBudgetConstained; - $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PercentCpaBid", false)) { - /** - * Percentage CPA based bidding where user pays a percent of conversions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBid"; - - /** - * @access public - * @var integer - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $percentCpaBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $percentCpaBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->percentCpaBidSource = $percentCpaBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("PercentCpaBiddingScheme", false)) { - /** - * Percentage CPA based bidding scheme attributes where user pays a percent of conversions. - * This bidding strategy is available only to some advertisers. - *

A campaign can only be created with PercentCPA bidding strategy. Existing - * campaigns with a different bidding strategy cannot be transitioned to PercentCPA. - *

Similarly, once created as a PercentCPA, a campaign cannot be transitioned to - * any other bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("PolicyViolationError", false)) { - /** - * Represents violations of a single policy by some text in a field. - * - * Violations of a single policy by the same string in multiple places - * within a field is reported in one instance of this class and only one - * exemption needs to be filed. - * Violations of a single policy by two different strings is reported - * as two separate instances of this class. - * - * e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it - * would be represented by one instance. If the ad also contains 'INC' which - * also violates 'capitalization' it would be represented in a separate - * instance. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; - - /** - * @access public - * @var string - */ - public $externalPolicyUrl; - - /** - * @access public - * @var string - */ - public $externalPolicyDescription; - - /** - * @access public - * @var boolean - */ - public $isExemptable; - - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationErrorPart", false)) { - /** - * Points to a substring within an ad field or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $length = null) { - $this->index = $index; - $this->length = $length; - } - - } -} - -if (!class_exists("PolicyViolationKey", false)) { - /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; - - /** - * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductDimension", false)) { - /** - * Dimension by which to subdivide or filter products. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimension"; - - /** - * @access public - * @var string - */ - public $ProductDimensionType; - private $_parameterMap = array( - "ProductDimension.Type" => "ProductDimensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ProductDimensionType = null) { - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductOfferId", false)) { - /** - * An offer ID as specified by the merchant. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductOfferId extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductOfferId"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductPartition", false)) { - /** - * Product partition (product group) in a shopping campaign. Depending on its type, a product - * partition subdivides products along some product dimension, specifies a bid for products, or - * excludes products from bidding. - * - *

Inner nodes of a product partition hierarchy are always subdivisions. Each child is linked to - * the subdivision via the {@code parentCriterionId} and defines a {@code caseValue}. For all - * children of the same subdivision, the {@code caseValue}s must be mutually different but - * instances of the same class. - * - * To create a subdivision and child node in the same API request, they should refer to each other - * using temporary criterion IDs in the {@code parentCriterionId} of the child, and ID field of the - * subdivision. Temporary IDs are specified by using any negative integer. Temporary IDs only exist - * within the scope of a single API request. The API will assign real criterion IDs, and replace - * the temporary values, and the API response will reflect this. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductPartition extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductPartition"; - - /** - * @access public - * @var tnsProductPartitionType - */ - public $partitionType; - - /** - * @access public - * @var integer - */ - public $parentCriterionId; - - /** - * @access public - * @var ProductDimension - */ - public $caseValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($partitionType = null, $parentCriterionId = null, $caseValue = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->partitionType = $partitionType; - $this->parentCriterionId = $parentCriterionId; - $this->caseValue = $caseValue; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductType", false)) { - /** - * One element of a product type string at a certain level. Top-level product types are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the product type. All cases of the the same - * subdivision must have the same dimension type (product type level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductType extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductType"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductTypeFull", false)) { - /** - * A full product type string. Category of the product according to the merchant's own - * classification. Example: - * - *

{@code "Home & Garden > Kitchen & Dining > Kitchen Appliances > Refrigerators"}
- * - *

Not supported by campaigns of {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductTypeFull extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductTypeFull"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("QualityInfo", false)) { - /** - * Container for criterion quality information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QualityInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QualityInfo"; - - /** - * @access public - * @var boolean - */ - public $isKeywordAdRelevanceAcceptable; - - /** - * @access public - * @var boolean - */ - public $isLandingPageQualityAcceptable; - - /** - * @access public - * @var boolean - */ - public $isLandingPageLatencyAcceptable; - - /** - * @access public - * @var integer - */ - public $qualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($isKeywordAdRelevanceAcceptable = null, $isLandingPageQualityAcceptable = null, $isLandingPageLatencyAcceptable = null, $qualityScore = null) { - $this->isKeywordAdRelevanceAcceptable = $isKeywordAdRelevanceAcceptable; - $this->isLandingPageQualityAcceptable = $isLandingPageQualityAcceptable; - $this->isLandingPageLatencyAcceptable = $isLandingPageLatencyAcceptable; - $this->qualityScore = $qualityScore; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("TargetCpaBiddingScheme", false)) { - /** - * Target Cpa bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - * This is similar to the ConversionOptimizerBiddingScheme but does not - * support user-entered AdGroup-level target CPA bids, but rather a strategy-wide - * average CPA target. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetCpaBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetCpaBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $targetCpa; - - /** - * @access public - * @var Money - */ - public $maxCpcBidCeiling; - - /** - * @access public - * @var Money - */ - public $maxCpcBidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetCpa = null, $maxCpcBidCeiling = null, $maxCpcBidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetCpa = $targetCpa; - $this->maxCpcBidCeiling = $maxCpcBidCeiling; - $this->maxCpcBidFloor = $maxCpcBidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetRoasBiddingScheme", false)) { - /** - * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). - * - * For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while - * ensuring that every $1.00 of clicks provides $1.50 in conversion value. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetRoasBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetRoasBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetRoasBiddingScheme"; - - /** - * @access public - * @var double - */ - public $targetRoas; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $bidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetRoas = null, $bidCeiling = null, $bidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetRoas = $targetRoas; - $this->bidCeiling = $bidCeiling; - $this->bidFloor = $bidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetSpendBiddingScheme", false)) { - /** - * Target Spend bidding scheme, in which Google automatically places - * bids for the user based on their daily/monthly budget or optional - * spend target. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetSpendBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetSpendBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $spendTarget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $spendTarget = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->spendTarget = $spendTarget; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Webpage", false)) { - /** - * Criterion for targeting webpages of an advertiser's website. The - * website domain name is specified at the campaign level. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Webpage extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Webpage"; - - /** - * @access public - * @var WebpageParameter - */ - public $parameter; - - /** - * @access public - * @var double - */ - public $criteriaCoverage; - - /** - * @access public - * @var string[] - */ - public $criteriaSamples; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($parameter = null, $criteriaCoverage = null, $criteriaSamples = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->parameter = $parameter; - $this->criteriaCoverage = $criteriaCoverage; - $this->criteriaSamples = $criteriaSamples; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("WebpageCondition", false)) { - /** - * Logical expression for targeting webpages of an advertiser's website. - * - *

A condition is defined as {@code operand OP argument} - * where {@code operand} is one of the values enumerated in - * {@link WebpageConditionOperand}, and, based on this value, - * {@code OP} is either of {@code EQUALS} or {@code CONTAINS}.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageCondition"; - - /** - * @access public - * @var tnsWebpageConditionOperand - */ - public $operand; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $argument = null) { - $this->operand = $operand; - $this->argument = $argument; - } - - } -} - -if (!class_exists("WebpageParameter", false)) { - /** - * Parameter of Webpage criterion, expressed as a list of conditions, or - * logical expressions, for targeting webpages of an advertiser's website. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageParameter extends CriterionParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageParameter"; - - /** - * @access public - * @var string - */ - public $criterionName; - - /** - * @access public - * @var WebpageCondition[] - */ - public $conditions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionName = null, $conditions = null, $CriterionParameterType = null) { - parent::__construct(); - $this->criterionName = $criterionName; - $this->conditions = $conditions; - $this->CriterionParameterType = $CriterionParameterType; - } - - } -} - -if (!class_exists("AdGroupCriterionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceededCriteriaLimitType", false)) { - /** - * The entity type that exceeded the limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceededCriteriaLimitType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded.CriteriaLimitType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AgeRangeAgeRangeType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRangeAgeRangeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange.AgeRangeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ApprovalStatus", false)) { - /** - * Approval status for the criterion. - * Note: there are more states involved but we only expose two to users. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidSource", false)) { - /** - * Indicate where a criterion's bid came from: criterion or the adgroup it - * belongs to. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorReason", false)) { - /** - * Reason for bidding error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorsReason", false)) { - /** - * Bidding strategy cannot override ad group or campaign bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorsReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategySource", false)) { - /** - * Indicates where bidding strategy came from: campaign, adgroup or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategySource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategySource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyType", false)) { - /** - * The bidding strategy type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemeBidType", false)) { - /** - * Average cost-per-acquisition (targetCPA) bid type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemeBidType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.BidType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemePricingMode", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemePricingMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.PricingMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * Concrete type of criterion is required for ADD and SET operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionUse", false)) { - /** - * The way a criterion is used - biddable or negative. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUse"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityAccessDeniedReason", false)) { - /** - * User did not have read access. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDataStatus", false)) { - /** - * Status of the experimental change associated with an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDataStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDataStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDeltaStatus", false)) { - /** - * Status of an entity denoting its type of experimental change in a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDeltaStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDeltaStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ForwardCompatibilityErrorReason", false)) { - /** - * The reason for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GenderGenderType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GenderGenderType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender.GenderType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MultiplierSource", false)) { - /** - * Denotes whether the bid multiplier is derived from the adgroup - * or the criterion - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MultiplierSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MultiplierSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PageOnePromotedBiddingSchemeStrategyGoal", false)) { - /** - * First page on google.com. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingSchemeStrategyGoal { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("ProductCanonicalConditionCondition", false)) { - /** - * A canonical product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalConditionCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition.Condition"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductDimensionType", false)) { - /** - * Type of product dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimensionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimensionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductPartitionType", false)) { - /** - * Type of a product partition in a shopping campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductPartitionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductPartitionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SystemServingStatus", false)) { - /** - * Reported by system to reflect the criterion's serving status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SystemServingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SystemServingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("UserStatus", false)) { - /** - * Specified by user to pause or unpause a criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "UserStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("WebpageConditionOperand", false)) { - /** - * Operand value of {@link WebpageCondition}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageConditionOperand"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupCriterionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets adgroup criteria. - * - * @param serviceSelector filters the adgroup criteria to be returned. - * @return a page (subset) view of the criteria selected - * @throws ApiException when there is at least one error with the request - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("AdGroupCriterionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupCriterionPage - */ - 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("AdGroupCriterionServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Adds, removes or updates adgroup criteria. - * - * @param operations operations to do - * during checks on keywords to be added. - * @return added and updated adgroup criteria (without optional parts) - * @throws ApiException when there is at least one error with the request - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupCriterionOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdGroupCriterionServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupCriterionReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of AdGroupCriterion that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of AdGroupCriterion - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupCriterionPage - */ - 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("AdGroupCriterionError", false)) { - /** - * Base error class for Ad Group Criterion Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError"; - - /** - * @access public - * @var tnsAdGroupCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceeded", false)) { - /** - * Signals that too many criteria were added to some ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceeded extends EntityCountLimitExceeded { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded"; - - /** - * @access public - * @var tnsAdGroupCriterionLimitExceededCriteriaLimitType - */ - public $limitType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($limitType = null, $reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null) { - parent::__construct(); - $this->limitType = $limitType; - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - } - - } -} - -if (!class_exists("AdGroupCriterionOperation", false)) { - /** - * Operation (add, remove and set) on adgroup criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionOperation"; - - /** - * @access public - * @var AdGroupCriterion - */ - public $operand; - - /** - * @access public - * @var ExemptionRequest[] - */ - public $exemptionRequests; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $exemptionRequests = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->exemptionRequests = $exemptionRequests; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupCriterionPage", false)) { - /** - * Contains a subset of adgroup criteria resulting from a - * {@link AdGroupCriterionService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionPage"; - - /** - * @access public - * @var AdGroupCriterion[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupCriterionReturnValue", false)) { - /** - * A container for return values from the AdGroupCriterionService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionReturnValue"; - - /** - * @access public - * @var AdGroupCriterion[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AgeRange", false)) { - /** - * Represents an Age Range criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRange extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange"; - - /** - * @access public - * @var tnsAgeRangeAgeRangeType - */ - public $ageRangeType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ageRangeType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ageRangeType = $ageRangeType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CriterionPolicyError", false)) { - /** - * Contains the policy violations for a single BiddableAdGroupCriterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionPolicyError extends PolicyViolationError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionPolicyError"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("ProductAdwordsGrouping", false)) { - /** - * An {@code adwords grouping} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsGrouping extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsGrouping"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductAdwordsLabels", false)) { - /** - * An {@code adwords labels} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsLabels extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsLabels"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBiddingCategory", false)) { - /** - * One element of a bidding category at a certain level. Top-level categories are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the category. All cases of the the same subdivision - * must have the same dimension type (category level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBiddingCategory extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBiddingCategory"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBrand", false)) { - /** - * A brand string. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBrand extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBrand"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCanonicalCondition", false)) { - /** - * A canonical condition. Only supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition"; - - /** - * @access public - * @var tnsProductCanonicalConditionCondition - */ - public $condition; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($condition = null, $ProductDimensionType = null) { - parent::__construct(); - $this->condition = $condition; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductLegacyCondition", false)) { - /** - * A plain condition string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductLegacyCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductLegacyCondition"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCustomAttribute", false)) { - /** - * A custom attribute value. As a product can have multiple custom attributes, the user must specify - * a dimension type that indicates the index of the attribute by which to subdivide. All cases of - * the same subdivision must have the same dimension type (attribute index). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCustomAttribute extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCustomAttribute"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("AdGroupCriterionService", false)) { - /** - * AdGroupCriterionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdGroupCriterionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupCriterionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupCriterionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdGroupCriterion" => "AdGroupCriterion", - "AdGroupCriterionError" => "AdGroupCriterionError", - "AdGroupCriterionExperimentBidMultiplier" => "AdGroupCriterionExperimentBidMultiplier", - "AdGroupCriterionLimitExceeded" => "AdGroupCriterionLimitExceeded", - "AdGroupCriterionOperation" => "AdGroupCriterionOperation", - "AdGroupCriterionPage" => "AdGroupCriterionPage", - "AdGroupCriterionReturnValue" => "AdGroupCriterionReturnValue", - "AdxError" => "AdxError", - "AgeRange" => "AgeRange", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "Bid" => "Bid", - "BidMultiplier" => "BidMultiplier", - "BiddableAdGroupCriterion" => "BiddableAdGroupCriterion", - "BiddableAdGroupCriterionExperimentData" => "BiddableAdGroupCriterionExperimentData", - "BiddingError" => "BiddingError", - "BiddingErrors" => "BiddingErrors", - "BiddingScheme" => "BiddingScheme", - "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", - "Bids" => "Bids", - "BudgetOptimizerBiddingScheme" => "BudgetOptimizerBiddingScheme", - "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", - "ConversionOptimizerBiddingScheme" => "ConversionOptimizerBiddingScheme", - "CpaBid" => "CpaBid", - "CpcBid" => "CpcBid", - "CpmBid" => "CpmBid", - "Criterion" => "Criterion", - "CriterionError" => "CriterionError", - "CriterionParameter" => "CriterionParameter", - "CriterionPolicyError" => "CriterionPolicyError", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", - "EntityAccessDenied" => "EntityAccessDenied", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "ExemptionRequest" => "ExemptionRequest", - "ExperimentError" => "ExperimentError", - "ForwardCompatibilityError" => "ForwardCompatibilityError", - "Gender" => "Gender", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "ListReturnValue" => "ListReturnValue", - "LongValue" => "LongValue", - "ManualCPCAdGroupCriterionExperimentBidMultiplier" => "ManualCPCAdGroupCriterionExperimentBidMultiplier", - "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", - "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "Money" => "Money", - "NegativeAdGroupCriterion" => "NegativeAdGroupCriterion", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Page" => "Page", - "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", - "Paging" => "Paging", - "PagingError" => "PagingError", - "PercentCpaBid" => "PercentCpaBid", - "PercentCpaBiddingScheme" => "PercentCpaBiddingScheme", - "Placement" => "Placement", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "Predicate" => "Predicate", - "Product" => "Product", - "ProductAdwordsGrouping" => "ProductAdwordsGrouping", - "ProductAdwordsLabels" => "ProductAdwordsLabels", - "ProductBiddingCategory" => "ProductBiddingCategory", - "ProductBrand" => "ProductBrand", - "ProductCanonicalCondition" => "ProductCanonicalCondition", - "ProductLegacyCondition" => "ProductLegacyCondition", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "ProductCustomAttribute" => "ProductCustomAttribute", - "ProductDimension" => "ProductDimension", - "ProductOfferId" => "ProductOfferId", - "ProductPartition" => "ProductPartition", - "ProductType" => "ProductType", - "ProductTypeFull" => "ProductTypeFull", - "QualityInfo" => "QualityInfo", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", - "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", - "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "Webpage" => "Webpage", - "WebpageCondition" => "WebpageCondition", - "WebpageParameter" => "WebpageParameter", - "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", - "AdGroupCriterionLimitExceeded.CriteriaLimitType" => "AdGroupCriterionLimitExceededCriteriaLimitType", - "AdxError.Reason" => "AdxErrorReason", - "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", - "ApprovalStatus" => "ApprovalStatus", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BidSource" => "BidSource", - "BiddingError.Reason" => "BiddingErrorReason", - "BiddingErrors.Reason" => "BiddingErrorsReason", - "BiddingStrategySource" => "BiddingStrategySource", - "BiddingStrategyType" => "BiddingStrategyType", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConversionOptimizerBiddingScheme.BidType" => "ConversionOptimizerBiddingSchemeBidType", - "ConversionOptimizerBiddingScheme.PricingMode" => "ConversionOptimizerBiddingSchemePricingMode", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "CriterionUse" => "CriterionUse", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ExperimentDataStatus" => "ExperimentDataStatus", - "ExperimentDeltaStatus" => "ExperimentDeltaStatus", - "ExperimentError.Reason" => "ExperimentErrorReason", - "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", - "Gender.GenderType" => "GenderGenderType", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "MultiplierSource" => "MultiplierSource", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "ProductCanonicalCondition.Condition" => "ProductCanonicalConditionCondition", - "ProductDimensionType" => "ProductDimensionType", - "ProductPartitionType" => "ProductPartitionType", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "SystemServingStatus" => "SystemServingStatus", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "UserStatus" => "UserStatus", - "WebpageConditionOperand" => "WebpageConditionOperand", - "get" => "AdGroupCriterionServiceGet", - "getResponse" => "AdGroupCriterionServiceGetResponse", - "mutate" => "AdGroupCriterionServiceMutate", - "mutateResponse" => "AdGroupCriterionServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets adgroup criteria. - * - * @param serviceSelector filters the adgroup criteria to be returned. - * @return a page (subset) view of the criteria selected - * @throws ApiException when there is at least one error with the request - */ - public function get($serviceSelector) { - $args = new AdGroupCriterionServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Adds, removes or updates adgroup criteria. - * - * @param operations operations to do - * during checks on keywords to be added. - * @return added and updated adgroup criteria (without optional parts) - * @throws ApiException when there is at least one error with the request - */ - public function mutate($operations) { - $args = new AdGroupCriterionServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of AdGroupCriterion that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of AdGroupCriterion - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdGroupFeedService.php b/src/Google/Api/Ads/AdWords/v201402/AdGroupFeedService.php deleted file mode 100755 index b800e0229..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdGroupFeedService.php +++ /dev/null @@ -1,4245 +0,0 @@ -feedId = $feedId; - $this->adGroupId = $adGroupId; - $this->matchingFunction = $matchingFunction; - $this->placeholderTypes = $placeholderTypes; - $this->status = $status; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedFunction", false)) { - /** - * Represents a function where its operator is applied to its argument operands - * resulting in a return value. It has the form - * (Operand... Operator Operand...). The type of the return value depends on - * the operator being applied and the type of the operands. - * - *

Operands per function is limited to 20.

- * - *

Here is a code example:

- * - *

-   * 
-   * // For example "feed_attribute == 30" can be represented as:
-   * FeedId feedId = (FeedId of Feed associated with feed_attribute)
-   * FeedAttributeId feedAttributeId = (FeedAttributeId of feed_attribute)
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new FeedAttributeOperand(feedId, feedAttributeId)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(
-   * Arrays.asList((Operand) new ConstantOperand(30L)));
-   * 
-   * // Another example matching on multiple values:
-   * "feed_item_id IN (10, 20, 30)" can be represented as:
-   * 
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new ConstantOperand(30L)));
-   * 
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedFunction { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function"; - - /** - * @access public - * @var tnsFunctionOperator - */ - public $operator; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $lhsOperand; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $rhsOperand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $lhsOperand = null, $rhsOperand = null) { - $this->operator = $operator; - $this->lhsOperand = $lhsOperand; - $this->rhsOperand = $rhsOperand; - } - - } -} - -if (!class_exists("FunctionError", false)) { - /** - * Errors that indicate issues with the function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError"; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FunctionArgumentOperand", false)) { - /** - * An operand that can be used in a function expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionArgumentOperand"; - - /** - * @access public - * @var string - */ - public $FunctionArgumentOperandType; - private $_parameterMap = array( - "FunctionArgumentOperand.Type" => "FunctionArgumentOperandType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FunctionArgumentOperandType = null) { - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestContextOperand", false)) { - /** - * An operand in a function referring to a value in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand"; - - /** - * @access public - * @var tnsRequestContextOperandContextType - */ - public $contextType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($contextType = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->contextType = $contextType; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupFeedStatus", false)) { - /** - * Status of the AdGroupFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeed.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("AdGroupFeedErrorReason", false)) { - /** - * Error reasons. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ConstantOperandConstantType", false)) { - /** - * The types of constant operands. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperandConstantType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand.ConstantType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionOperator", false)) { - /** - * Operators that can be used in functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function.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() { - } - - } -} - -if (!class_exists("FunctionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestContextOperandContextType", false)) { - /** - * Campaign Id in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperandContextType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand.ContextType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AdGroupFeedServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupFeeds that meet the selector criteria. - * - * @param selector Determines which AdGroupFeeds to return. If empty all - * adgroup feeds are returned. - * @return The list of AdgroupFeeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("AdGroupFeedServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupFeedPage - */ - 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("AdGroupFeedServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Adds, updates or removes AdGroupFeeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupFeedOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdGroupFeedServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupFeedReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of AdGroupFeeds that match the query. - * - * @param query The SQL-like AWQL query string. - * @returns A list of AdGroupFeed. - * @throws ApiException if problems occur while parsing the query or fetching AdGroupFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupFeedPage - */ - 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("AdGroupFeedError", false)) { - /** - * Represents an error for the AdGroupFeedService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeedError"; - - /** - * @access public - * @var tnsAdGroupFeedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupFeedOperation", false)) { - /** - * Operation used to create or mutate an AdGroupFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeedOperation"; - - /** - * @access public - * @var AdGroupFeed - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupFeedReturnValue", false)) { - /** - * The result of a call to AdGroupFeedService#mutate. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeedReturnValue"; - - /** - * @access public - * @var AdGroupFeed[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ConstantOperand", false)) { - /** - * A constant operand in a matching function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand"; - - /** - * @access public - * @var tnsConstantOperandConstantType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $longValue; - - /** - * @access public - * @var boolean - */ - public $booleanValue; - - /** - * @access public - * @var double - */ - public $doubleValue; - - /** - * @access public - * @var string - */ - public $stringValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($type = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->type = $type; - $this->longValue = $longValue; - $this->booleanValue = $booleanValue; - $this->doubleValue = $doubleValue; - $this->stringValue = $stringValue; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("FeedAttributeOperand", false)) { - /** - * Represents a feed attribute reference to use in a function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedAttributeOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedAttributeOperand"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedAttributeId = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->feedId = $feedId; - $this->feedAttributeId = $feedAttributeId; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("FunctionOperand", false)) { - /** - * A function operand in a matching function. - * Used to represent nested functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionOperand"; - - /** - * @access public - * @var Function - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->value = $value; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupFeedPage", false)) { - /** - * The result of a call to AdGroupFeedService#get. Contains a list of - * associations between ad groups and feeds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupFeedPage"; - - /** - * @access public - * @var AdGroupFeed[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("AdGroupFeedService", false)) { - /** - * AdGroupFeedService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupFeedService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdGroupFeedService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupFeedService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupFeedService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdGroupFeed" => "AdGroupFeed", - "AdGroupFeedError" => "AdGroupFeedError", - "AdGroupFeedOperation" => "AdGroupFeedOperation", - "AdGroupFeedPage" => "AdGroupFeedPage", - "AdGroupFeedReturnValue" => "AdGroupFeedReturnValue", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "ConstantOperand" => "ConstantOperand", - "DatabaseError" => "DatabaseError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "FeedAttributeOperand" => "FeedAttributeOperand", - "Function" => "FeedFunction", - "FunctionError" => "FunctionError", - "FunctionOperand" => "FunctionOperand", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NullStatsPage" => "NullStatsPage", - "FunctionArgumentOperand" => "FunctionArgumentOperand", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestContextOperand" => "RequestContextOperand", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "AdGroupFeed.Status" => "AdGroupFeedStatus", - "AdGroupFeedError.Reason" => "AdGroupFeedErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "ConstantOperand.ConstantType" => "ConstantOperandConstantType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "Function.Operator" => "FunctionOperator", - "FunctionError.Reason" => "FunctionErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestContextOperand.ContextType" => "RequestContextOperandContextType", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "AdGroupFeedServiceGet", - "getResponse" => "AdGroupFeedServiceGetResponse", - "mutate" => "AdGroupFeedServiceMutate", - "mutateResponse" => "AdGroupFeedServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of AdGroupFeeds that meet the selector criteria. - * - * @param selector Determines which AdGroupFeeds to return. If empty all - * adgroup feeds are returned. - * @return The list of AdgroupFeeds. - * @throws ApiException Indicates a problem with the request. - */ - public function get($selector) { - $args = new AdGroupFeedServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Adds, updates or removes AdGroupFeeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function mutate($operations) { - $args = new AdGroupFeedServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of AdGroupFeeds that match the query. - * - * @param query The SQL-like AWQL query string. - * @returns A list of AdGroupFeed. - * @throws ApiException if problems occur while parsing the query or fetching AdGroupFeed. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdGroupService.php b/src/Google/Api/Ads/AdWords/v201402/AdGroupService.php deleted file mode 100755 index 233d84eab..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdGroupService.php +++ /dev/null @@ -1,6639 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("TargetingSettingDetail", false)) { - /** - * Specifies if criteria of this type group should be used to restrict - * targeting, or if ads can serve anywhere and criteria are only used in - * determining the bid. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingSettingDetail { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetingSettingDetail"; - - /** - * @access public - * @var tnsCriterionTypeGroup - */ - public $criterionTypeGroup; - - /** - * @access public - * @var boolean - */ - public $targetAll; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionTypeGroup = null, $targetAll = null) { - $this->criterionTypeGroup = $criterionTypeGroup; - $this->targetAll = $targetAll; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Setting", false)) { - /** - * Base type for AdWords campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Setting"; - - /** - * @access public - * @var string - */ - public $SettingType; - private $_parameterMap = array( - "Setting.Type" => "SettingType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SettingType = null) { - $this->SettingType = $SettingType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Bid", false)) { - /** - * Represents a bid of a certain amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bid { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bid"; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($amount = null) { - $this->amount = $amount; - } - - } -} - -if (!class_exists("BidMultiplier", false)) { - /** - * Represents a multiplier to modify a bid. The final value after - * modification is represented by the multiplied bid value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidMultiplier"; - - /** - * @access public - * @var double - */ - public $multiplier; - - /** - * @access public - * @var Bid - */ - public $multipliedBid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($multiplier = null, $multipliedBid = null) { - $this->multiplier = $multiplier; - $this->multipliedBid = $multipliedBid; - } - - } -} - -if (!class_exists("Bids", false)) { - /** - * Base class for all bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bids"; - - /** - * @access public - * @var string - */ - public $BidsType; - private $_parameterMap = array( - "Bids.Type" => "BidsType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BidsType = null) { - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AdGroupExperimentBidMultipliers", false)) { - /** - * Bid multiplier used to modify the bid of an adgroup while running - * an experiment. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var string - */ - public $AdGroupExperimentBidMultipliersType; - private $_parameterMap = array( - "AdGroupExperimentBidMultipliers.Type" => "AdGroupExperimentBidMultipliersType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdGroupExperimentBidMultipliersType = null) { - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("AdGroupExperimentData", false)) { - /** - * Data associated with an advertiser experiment for this adgroup. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * @access public - * @var AdGroupExperimentBidMultipliers - */ - public $experimentBidMultipliers; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null, $experimentBidMultipliers = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - $this->experimentBidMultipliers = $experimentBidMultipliers; - } - - } -} - -if (!class_exists("BiddingScheme", false)) { - /** - * Base class for all bidding schemes. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingScheme"; - - /** - * @access public - * @var string - */ - public $BiddingSchemeType; - private $_parameterMap = array( - "BiddingScheme.Type" => "BiddingSchemeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BiddingStrategyConfiguration", false)) { - /** - * Encapsulates the information about bids and bidding strategies. - * - * Bidding Strategy can be set on campaigns, ad groups or ad group criteria. - * A bidding strategy can be set using one of the following: - * - * If the bidding strategy type is used, then schemes are created using default values. - * - * Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. - * Multiple bids can be set at the same time. Only the bids that apply to the campaign's - * {@linkplain Campaign#biddingStrategyConfiguration bidding strategy} will be used. - * - * For more information on flexible bidding, visit the - * Help Center. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyConfiguration { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyConfiguration"; - - /** - * @access public - * @var integer - */ - public $biddingStrategyId; - - /** - * @access public - * @var string - */ - public $biddingStrategyName; - - /** - * @access public - * @var tnsBiddingStrategyType - */ - public $biddingStrategyType; - - /** - * @access public - * @var tnsBiddingStrategySource - */ - public $biddingStrategySource; - - /** - * @access public - * @var BiddingScheme - */ - public $biddingScheme; - - /** - * @access public - * @var Bids[] - */ - public $bids; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($biddingStrategyId = null, $biddingStrategyName = null, $biddingStrategyType = null, $biddingStrategySource = null, $biddingScheme = null, $bids = null) { - $this->biddingStrategyId = $biddingStrategyId; - $this->biddingStrategyName = $biddingStrategyName; - $this->biddingStrategyType = $biddingStrategyType; - $this->biddingStrategySource = $biddingStrategySource; - $this->biddingScheme = $biddingScheme; - $this->bids = $bids; - } - - } -} - -if (!class_exists("AdGroup", false)) { - /** - * Represents an ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroup { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroup"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var string - */ - public $campaignName; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsAdGroupStatus - */ - public $status; - - /** - * @access public - * @var Setting[] - */ - public $settings; - - /** - * @access public - * @var AdGroupExperimentData - */ - public $experimentData; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var tnsCriterionTypeGroup - */ - public $contentBidCriterionTypeGroup; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $campaignId = null, $campaignName = null, $name = null, $status = null, $settings = null, $experimentData = null, $forwardCompatibilityMap = null, $biddingStrategyConfiguration = null, $contentBidCriterionTypeGroup = null) { - $this->id = $id; - $this->campaignId = $campaignId; - $this->campaignName = $campaignName; - $this->name = $name; - $this->status = $status; - $this->settings = $settings; - $this->experimentData = $experimentData; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->contentBidCriterionTypeGroup = $contentBidCriterionTypeGroup; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupServiceErrorReason", false)) { - /** - * The reasons for the adgroup service error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupServiceError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupStatus", false)) { - /** - * Status of this ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroup.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("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidSource", false)) { - /** - * Indicate where a criterion's bid came from: criterion or the adgroup it - * belongs to. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorReason", false)) { - /** - * Reason for bidding error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorsReason", false)) { - /** - * Bidding strategy cannot override ad group or campaign bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorsReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategySource", false)) { - /** - * Indicates where bidding strategy came from: campaign, adgroup or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategySource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategySource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyType", false)) { - /** - * The bidding strategy type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemeBidType", false)) { - /** - * Average cost-per-acquisition (targetCPA) bid type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemeBidType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.BidType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemePricingMode", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemePricingMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.PricingMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionTypeGroup", false)) { - /** - * The list of groupings of criteria types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionTypeGroup { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionTypeGroup"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDataStatus", false)) { - /** - * Status of the experimental change associated with an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDataStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDataStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDeltaStatus", false)) { - /** - * Status of an entity denoting its type of experimental change in a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDeltaStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDeltaStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ForwardCompatibilityErrorReason", false)) { - /** - * The reason for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PageOnePromotedBiddingSchemeStrategyGoal", false)) { - /** - * First page on google.com. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingSchemeStrategyGoal { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the quota error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SettingErrorReason", false)) { - /** - * The reasons for the setting error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AdGroupServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of all the ad groups specified by the selector - * from the target customer's account. - * - * @param serviceSelector The selector specifying the {@link AdGroup}s to return. - * @return List of adgroups identified by the selector. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("AdGroupServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupPage - */ - 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("AdGroupServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Adds, updates, or removes ad groups. - *

Note: {@link AdGroupOperation} does not support the - * {@code REMOVE} operator. To remove an ad group, set its - * {@link AdGroup#status status} to {@code REMOVED}.

- * - * @param operations List of unique operations. The same ad group cannot be - * specified in more than one operation. - * @return The updated adgroups. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdGroupServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of ad groups that match the query. - * - * @param query The SQL-like AWQL query string - * @return A list of adgroups - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupPage - */ - 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("AdGroupServiceError", false)) { - /** - * Represents possible error codes in AdGroupService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupServiceError"; - - /** - * @access public - * @var tnsAdGroupServiceErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $adGroupId = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->adGroupId = $adGroupId; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingError", false)) { - /** - * Represents bidding errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError"; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingErrors", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrors extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors"; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingScheme", false)) { - /** - * Conversion optimizer bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - *

{@code pricingMode} currently defaults to {@code CLICKS} and - * cannot be changed.

- * - *

Note that campaigns must meet - * specific eligibility requirements before they can use the - * ConversionOptimizer bidding strategy.

- * - *

For more information on conversion optimizer, visit the - * Conversion Optimizer help center.

- * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme"; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemePricingMode - */ - public $pricingMode; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemeBidType - */ - public $bidType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($pricingMode = null, $bidType = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->pricingMode = $pricingMode; - $this->bidType = $bidType; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EnhancedCpcBiddingScheme", false)) { - /** - * Enhanced CPC is a bidding strategy that raises your bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less likely. - * - * This bidding scheme does not support criteria level bidding strategy overrides. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EnhancedCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EnhancedCpcBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExperimentError", false)) { - /** - * The error reason represented by an enum. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError"; - - /** - * @access public - * @var tnsExperimentErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExplorerAutoOptimizerSetting", false)) { - /** - * Settings for Explorer (GDN Auto Optimizer). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExplorerAutoOptimizerSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExplorerAutoOptimizerSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("ForwardCompatibilityError", false)) { - /** - * A ForwardComptibilityError represents possible errors when using the forwardCompatibilityMap - * in some of the common services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError"; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ManualCpcBiddingScheme", false)) { - /** - * Manual click based bidding where user pays per click. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpcBiddingScheme"; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCpmBiddingScheme", false)) { - /** - * Manual impression based bidding where user pays per thousand impressions. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpmBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpmBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PercentCpaBid", false)) { - /** - * Percentage CPA based bidding where user pays a percent of conversions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBid"; - - /** - * @access public - * @var integer - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $percentCpaBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $percentCpaBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->percentCpaBidSource = $percentCpaBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("PercentCpaBiddingScheme", false)) { - /** - * Percentage CPA based bidding scheme attributes where user pays a percent of conversions. - * This bidding strategy is available only to some advertisers. - *

A campaign can only be created with PercentCPA bidding strategy. Existing - * campaigns with a different bidding strategy cannot be transitioned to PercentCPA. - *

Similarly, once created as a PercentCPA, a campaign cannot be transitioned to - * any other bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaError", false)) { - /** - * Errors that are thrown if a quota limit is exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaError"; - - /** - * @access public - * @var tnsQuotaErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $limit = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->limit = $limit; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SettingError", false)) { - /** - * Indicates a problem with campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError"; - - /** - * @access public - * @var tnsSettingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TargetingSetting", false)) { - /** - * Setting for targeting related features. - * This is applicable at Campaign and AdGroup level. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetingSetting"; - - /** - * @access public - * @var TargetingSettingDetail[] - */ - public $details; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($details = null, $SettingType = null) { - parent::__construct(); - $this->details = $details; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("CpaBid", false)) { - /** - * CPA Bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpaBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpcBid", false)) { - /** - * Manual click based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpcBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpcBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var Money - */ - public $contentBid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpcBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $contentBid = null, $cpcBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->contentBid = $contentBid; - $this->cpcBidSource = $cpcBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpmBid", false)) { - /** - * Manual impression based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpmBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpmBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpmBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $cpmBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->cpmBidSource = $cpmBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PageOnePromotedBiddingScheme", false)) { - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme"; - - /** - * @access public - * @var tnsPageOnePromotedBiddingSchemeStrategyGoal - */ - public $strategyGoal; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var boolean - */ - public $bidChangesForRaisesOnly; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenBudgetConstained; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenLowQualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($strategyGoal = null, $bidCeiling = null, $bidModifier = null, $bidChangesForRaisesOnly = null, $raiseBidWhenBudgetConstained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->strategyGoal = $strategyGoal; - $this->bidCeiling = $bidCeiling; - $this->bidModifier = $bidModifier; - $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; - $this->raiseBidWhenBudgetConstained = $raiseBidWhenBudgetConstained; - $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetCpaBiddingScheme", false)) { - /** - * Target Cpa bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - * This is similar to the ConversionOptimizerBiddingScheme but does not - * support user-entered AdGroup-level target CPA bids, but rather a strategy-wide - * average CPA target. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetCpaBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetCpaBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $targetCpa; - - /** - * @access public - * @var Money - */ - public $maxCpcBidCeiling; - - /** - * @access public - * @var Money - */ - public $maxCpcBidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetCpa = null, $maxCpcBidCeiling = null, $maxCpcBidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetCpa = $targetCpa; - $this->maxCpcBidCeiling = $maxCpcBidCeiling; - $this->maxCpcBidFloor = $maxCpcBidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetRoasBiddingScheme", false)) { - /** - * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). - * - * For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while - * ensuring that every $1.00 of clicks provides $1.50 in conversion value. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetRoasBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetRoasBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetRoasBiddingScheme"; - - /** - * @access public - * @var double - */ - public $targetRoas; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $bidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetRoas = null, $bidCeiling = null, $bidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetRoas = $targetRoas; - $this->bidCeiling = $bidCeiling; - $this->bidFloor = $bidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetSpendBiddingScheme", false)) { - /** - * Target Spend bidding scheme, in which Google automatically places - * bids for the user based on their daily/monthly budget or optional - * spend target. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetSpendBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetSpendBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $spendTarget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $spendTarget = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->spendTarget = $spendTarget; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BudgetOptimizerBiddingScheme", false)) { - /** - * In budget optimizer, Google automatically places bids for the user based on - * their daily/monthly budget. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOptimizerBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCPCAdGroupExperimentBidMultipliers", false)) { - /** - * Adgroup level bid multipliers used in manual CPC bidding strategies. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPCAdGroupExperimentBidMultipliers extends AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPCAdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpcMultiplier; - - /** - * @access public - * @var BidMultiplier - */ - public $maxContentCpcMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpcMultiplier = null, $maxContentCpcMultiplier = null, $AdGroupExperimentBidMultipliersType = null) { - parent::__construct(); - $this->maxCpcMultiplier = $maxCpcMultiplier; - $this->maxContentCpcMultiplier = $maxContentCpcMultiplier; - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("ManualCPMAdGroupExperimentBidMultipliers", false)) { - /** - * Adgroup level bid multipliers used in manual CPM bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPMAdGroupExperimentBidMultipliers extends AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPMAdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpmMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpmMultiplier = null, $AdGroupExperimentBidMultipliersType = null) { - parent::__construct(); - $this->maxCpmMultiplier = $maxCpmMultiplier; - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("AdGroupOperation", false)) { - /** - * AdGroup operations for adding/updating/removing adgroups. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupOperation"; - - /** - * @access public - * @var AdGroup - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupPage", false)) { - /** - * Contains a subset of adgroup resulting from the filtering and paging of the - * {@link com.google.ads.api.services.campaignmgmt.adgroup.AdGroupService#get} call - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupPage"; - - /** - * @access public - * @var AdGroup[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupReturnValue", false)) { - /** - * A container for return values from the AdGroupService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupReturnValue"; - - /** - * @access public - * @var AdGroup[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("AdGroupService", false)) { - /** - * AdGroupService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdGroupService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdGroupService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdGroupServiceError" => "AdGroupServiceError", - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BiddingError" => "BiddingError", - "BiddingErrors" => "BiddingErrors", - "ClientTermsError" => "ClientTermsError", - "ConversionOptimizerBiddingScheme" => "ConversionOptimizerBiddingScheme", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "ExperimentError" => "ExperimentError", - "ExplorerAutoOptimizerSetting" => "ExplorerAutoOptimizerSetting", - "ForwardCompatibilityError" => "ForwardCompatibilityError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "LongValue" => "LongValue", - "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", - "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", - "Money" => "Money", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "PercentCpaBid" => "PercentCpaBid", - "PercentCpaBiddingScheme" => "PercentCpaBiddingScheme", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "QuotaError" => "QuotaError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SettingError" => "SettingError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "TargetingSettingDetail" => "TargetingSettingDetail", - "TargetingSetting" => "TargetingSetting", - "ComparableValue" => "ComparableValue", - "CpaBid" => "CpaBid", - "CpcBid" => "CpcBid", - "CpmBid" => "CpmBid", - "DatabaseError" => "DatabaseError", - "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", - "Setting" => "Setting", - "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", - "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", - "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Bid" => "Bid", - "BidMultiplier" => "BidMultiplier", - "Bids" => "Bids", - "BudgetOptimizerBiddingScheme" => "BudgetOptimizerBiddingScheme", - "ManualCPCAdGroupExperimentBidMultipliers" => "ManualCPCAdGroupExperimentBidMultipliers", - "ManualCPMAdGroupExperimentBidMultipliers" => "ManualCPMAdGroupExperimentBidMultipliers", - "Selector" => "Selector", - "AdGroupExperimentBidMultipliers" => "AdGroupExperimentBidMultipliers", - "AdGroupExperimentData" => "AdGroupExperimentData", - "BiddingScheme" => "BiddingScheme", - "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", - "AdGroup" => "AdGroup", - "AdGroupOperation" => "AdGroupOperation", - "AdGroupPage" => "AdGroupPage", - "AdGroupReturnValue" => "AdGroupReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AdGroupServiceError.Reason" => "AdGroupServiceErrorReason", - "AdGroup.Status" => "AdGroupStatus", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BidSource" => "BidSource", - "BiddingError.Reason" => "BiddingErrorReason", - "BiddingErrors.Reason" => "BiddingErrorsReason", - "BiddingStrategySource" => "BiddingStrategySource", - "BiddingStrategyType" => "BiddingStrategyType", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConversionOptimizerBiddingScheme.BidType" => "ConversionOptimizerBiddingSchemeBidType", - "ConversionOptimizerBiddingScheme.PricingMode" => "ConversionOptimizerBiddingSchemePricingMode", - "CriterionTypeGroup" => "CriterionTypeGroup", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ExperimentDataStatus" => "ExperimentDataStatus", - "ExperimentDeltaStatus" => "ExperimentDeltaStatus", - "ExperimentError.Reason" => "ExperimentErrorReason", - "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "QuotaError.Reason" => "QuotaErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SettingError.Reason" => "SettingErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "AdGroupServiceGet", - "getResponse" => "AdGroupServiceGetResponse", - "mutate" => "AdGroupServiceMutate", - "mutateResponse" => "AdGroupServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of all the ad groups specified by the selector - * from the target customer's account. - * - * @param serviceSelector The selector specifying the {@link AdGroup}s to return. - * @return List of adgroups identified by the selector. - * @throws ApiException when there is at least one error with the request. - */ - public function get($serviceSelector) { - $args = new AdGroupServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Adds, updates, or removes ad groups. - *

Note: {@link AdGroupOperation} does not support the - * {@code REMOVE} operator. To remove an ad group, set its - * {@link AdGroup#status status} to {@code REMOVED}.

- * - * @param operations List of unique operations. The same ad group cannot be - * specified in more than one operation. - * @return The updated adgroups. - */ - public function mutate($operations) { - $args = new AdGroupServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of ad groups that match the query. - * - * @param query The SQL-like AWQL query string - * @return A list of adgroups - * @throws ApiException - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdParamService.php b/src/Google/Api/Ads/AdWords/v201402/AdParamService.php deleted file mode 100755 index e833b72b2..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdParamService.php +++ /dev/null @@ -1,3389 +0,0 @@ -AdParam objects - * (one for each value of {@link #paramIndex}) per ad group - * Keyword - * criterion. - *

When setting or removing an AdParam, it is uniquely - * identified by the combination of these three fields:

- *
    - *
  • adGroupId
  • - *
  • criterionId
  • - *
  • paramIndex
  • - *
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParam { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParam"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var integer - */ - public $criterionId; - - /** - * @access public - * @var string - */ - public $insertionText; - - /** - * @access public - * @var integer - */ - public $paramIndex; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $criterionId = null, $insertionText = null, $paramIndex = null) { - $this->adGroupId = $adGroupId; - $this->criterionId = $criterionId; - $this->insertionText = $insertionText; - $this->paramIndex = $paramIndex; - } - - } -} - -if (!class_exists("AdParamPage", false)) { - /** - * Represents a page of AdParams returned by the {@link AdParamService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParamPage"; - - /** - * @access public - * @var AdParam[] - */ - public $entries; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null) { - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PolicyViolationErrorPart", false)) { - /** - * Points to a substring within an ad field or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $length = null) { - $this->index = $index; - $this->length = $length; - } - - } -} - -if (!class_exists("PolicyViolationKey", false)) { - /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; - - /** - * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AdParamErrorReason", false)) { - /** - * The same ad param cannot be specified in multiple operations - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParamError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AdParamServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the ad parameters that match the criteria specified in the - * selector. - * - * @param serviceSelector Specifies which ad parameters to return. - * @return A list of ad parameters. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("AdParamServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdParamPage - */ - 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("AdParamServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, REMOVE. - * - * - * - * Sets and removes ad parameters. - *

Note: {@code ADD} is not supported. Use {@code SET} - * for new ad parameters.

- * - *
    - *
  • {@code SET}: Creates or updates an ad parameter, setting the new - * parameterized value for the given ad group / keyword pair. - *
  • {@code REMOVE}: Removes an ad parameter. The default-value - * specified in the ad text will be used.
  • - *
- * - * @param operations The operations to perform. - * @return A list of ad parameters, where each entry in the list is the - * result of applying the operation in the input list with the same index. - * For a {@code SET} operation, the returned ad parameter will contain the - * updated values. For a {@code REMOVE} operation, the returned ad parameter - * will simply be the ad parameter that was removed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdParamOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdParamServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdParam[] - */ - 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("AdParamError", false)) { - /** - * Errors for AdParamService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParamError"; - - /** - * @access public - * @var tnsAdParamErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdParamOperation", false)) { - /** - * Represents an operation on an {@link AdParam}. The supported operators - * are {@code SET} and {@code REMOVE}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParamOperation"; - - /** - * @access public - * @var AdParam - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationError", false)) { - /** - * Represents violations of a single policy by some text in a field. - * - * Violations of a single policy by the same string in multiple places - * within a field is reported in one instance of this class and only one - * exemption needs to be filed. - * Violations of a single policy by two different strings is reported - * as two separate instances of this class. - * - * e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it - * would be represented by one instance. If the ad also contains 'INC' which - * also violates 'capitalization' it would be represented in a separate - * instance. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; - - /** - * @access public - * @var string - */ - public $externalPolicyUrl; - - /** - * @access public - * @var string - */ - public $externalPolicyDescription; - - /** - * @access public - * @var boolean - */ - public $isExemptable; - - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AdParamPolicyError", false)) { - /** - * Policy violation for an AdParam. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamPolicyError extends PolicyViolationError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdParamPolicyError"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - } - - } -} - -if (!class_exists("AdParamService", false)) { - /** - * AdParamService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdParamService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdParamService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/AdParamService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/AdParamService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdParam" => "AdParam", - "AdParamError" => "AdParamError", - "AdParamOperation" => "AdParamOperation", - "AdParamPage" => "AdParamPage", - "AdParamPolicyError" => "AdParamPolicyError", - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "PolicyViolationError" => "PolicyViolationError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "AdParamError.Reason" => "AdParamErrorReason", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "AdParamServiceGet", - "getResponse" => "AdParamServiceGetResponse", - "mutate" => "AdParamServiceMutate", - "mutateResponse" => "AdParamServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the ad parameters that match the criteria specified in the - * selector. - * - * @param serviceSelector Specifies which ad parameters to return. - * @return A list of ad parameters. - */ - public function get($serviceSelector) { - $args = new AdParamServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, REMOVE. - * - * - * - * Sets and removes ad parameters. - *

Note: {@code ADD} is not supported. Use {@code SET} - * for new ad parameters.

- * - *
    - *
  • {@code SET}: Creates or updates an ad parameter, setting the new - * parameterized value for the given ad group / keyword pair. - *
  • {@code REMOVE}: Removes an ad parameter. The default-value - * specified in the ad text will be used.
  • - *
- * - * @param operations The operations to perform. - * @return A list of ad parameters, where each entry in the list is the - * result of applying the operation in the input list with the same index. - * For a {@code SET} operation, the returned ad parameter will contain the - * updated values. For a {@code REMOVE} operation, the returned ad parameter - * will simply be the ad parameter that was removed. - */ - public function mutate($operations) { - $args = new AdParamServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AdwordsUserListService.php b/src/Google/Api/Ads/AdWords/v201402/AdwordsUserListService.php deleted file mode 100755 index 0ab605fd6..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AdwordsUserListService.php +++ /dev/null @@ -1,4257 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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.

- * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotWhitelistedErrorReason", false)) { - /** - * The single reason for the whitelist error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("UserListConversionType", false)) { - /** - * Represents a conversion type used for building remarketing user lists. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListConversionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListConversionType"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsUserListConversionTypeCategory - */ - public $category; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $category = null) { - $this->id = $id; - $this->name = $name; - $this->category = $category; - } - - } -} - -if (!class_exists("LogicalUserListOperand", false)) { - /** - * An interface for a logical user list operand. A logical user list is a - * combination of logical rules. Each rule is defined as a logical operator and - * a list of operands. Those operands can be of type UserList. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LogicalUserListOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "LogicalUserListOperand"; - - /** - * @access public - * @var UserList - */ - public $UserList; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($UserList = null) { - $this->UserList = $UserList; - } - - } -} - -if (!class_exists("UserList", false)) { - /** - * Represents a UserList object that is sent over the wire. - * This is a list of users an account may target. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserList"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var boolean - */ - public $isReadOnly; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $description; - - /** - * @access public - * @var tnsUserListMembershipStatus - */ - public $status; - - /** - * @access public - * @var string - */ - public $integrationCode; - - /** - * @access public - * @var tnsAccessReason - */ - public $accessReason; - - /** - * @access public - * @var tnsAccountUserListStatus - */ - public $accountUserListStatus; - - /** - * @access public - * @var integer - */ - public $membershipLifeSpan; - - /** - * @access public - * @var integer - */ - public $size; - - /** - * @access public - * @var tnsSizeRange - */ - public $sizeRange; - - /** - * @access public - * @var integer - */ - public $sizeForSearch; - - /** - * @access public - * @var tnsSizeRange - */ - public $sizeRangeForSearch; - - /** - * @access public - * @var string - */ - public $UserListType; - private $_parameterMap = array( - "UserList.Type" => "UserListType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $isReadOnly = null, $name = null, $description = null, $status = null, $integrationCode = null, $accessReason = null, $accountUserListStatus = null, $membershipLifeSpan = null, $size = null, $sizeRange = null, $sizeForSearch = null, $sizeRangeForSearch = null, $UserListType = null) { - $this->id = $id; - $this->isReadOnly = $isReadOnly; - $this->name = $name; - $this->description = $description; - $this->status = $status; - $this->integrationCode = $integrationCode; - $this->accessReason = $accessReason; - $this->accountUserListStatus = $accountUserListStatus; - $this->membershipLifeSpan = $membershipLifeSpan; - $this->size = $size; - $this->sizeRange = $sizeRange; - $this->sizeForSearch = $sizeForSearch; - $this->sizeRangeForSearch = $sizeRangeForSearch; - $this->UserListType = $UserListType; - } - - } -} - -if (!class_exists("UserListError", false)) { - /** - * Represents possible error codes in UserListService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListError"; - - /** - * @access public - * @var tnsUserListErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("UserListLogicalRule", false)) { - /** - * A user list logical rule. A rule has a logical operator (and/or/not) and a - * list of operands that can be user lists or user interests. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListLogicalRule { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListLogicalRule"; - - /** - * @access public - * @var tnsUserListLogicalRuleOperator - */ - public $operator; - - /** - * @access public - * @var LogicalUserListOperand[] - */ - public $ruleOperands; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ruleOperands = null) { - $this->operator = $operator; - $this->ruleOperands = $ruleOperands; - } - - } -} - -if (!class_exists("UserListOperation", false)) { - /** - * UserList operations for adding/updating UserList entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListOperation"; - - /** - * @access public - * @var UserList - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("UserListPage", false)) { - /** - * Contains a list of user lists resulting from the filtering and paging of the - * {@link UserListService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListPage"; - - /** - * @access public - * @var UserList[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("UserListReturnValue", false)) { - /** - * A container for return values from the UserListService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListReturnValue"; - - /** - * @access public - * @var UserList[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("AccessReason", false)) { - /** - * This indicates the way the entity such as UserList is related to a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AccessReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "AccessReason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AccountUserListStatus", false)) { - /** - * Status in the AccountUserListStatus table. This indicates if the user list share or - * the licensing of the userlist is still active. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AccountUserListStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "AccountUserListStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - 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("UserListConversionTypeCategory", false)) { - /** - * User can create only BOOMERANG_EVENT conversion types. For all other types - * UserListService service will return OTHER. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListConversionTypeCategory { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListConversionType.Category"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeRange", false)) { - /** - * Size range in terms of number of users of a UserList/UserInterest. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "SizeRange"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("UserListErrorReason", false)) { - /** - * Creating and updating external remarketing user lists is not supported. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("UserListLogicalRuleOperator", false)) { - /** - * And - all of the operands. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListLogicalRuleOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListLogicalRule.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() { - } - - } -} - -if (!class_exists("UserListMembershipStatus", false)) { - /** - * Membership status of the user list. This status indicates whether a user list - * can accumulate more users and may be targeted to. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "UserListMembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdwordsUserListServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of user lists that meet the selector criteria. - * - * @param serviceSelector the selector specifying the {@link UserList}s to return. - * @return a list of UserList entities which meet the selector criteria. - * @throws ApiException if problems occurred while fetching UserList information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdwordsUserListServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("AdwordsUserListServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdwordsUserListServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var UserListPage - */ - 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("AdwordsUserListServiceMutate", false)) { - /** - * The minimum size of this collection is 1. The maximum size of this collection is 10000. - * This field must not contain {@code null} elements. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Applies a list of mutate operations (i.e. add, set): - * - * Add - creates a set of user lists - * Set - updates a set of user lists - * - * @param operations the operations to apply - * @return a list of UserList objects - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdwordsUserListServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var UserListOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("AdwordsUserListServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdwordsUserListServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var UserListReturnValue - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotWhitelistedError", false)) { - /** - * Indicates that the customer is not whitelisted for accessing the API. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError"; - - /** - * @access public - * @var tnsNotWhitelistedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ExternalRemarketingUserList", false)) { - /** - * User lists created in the DoubleClick platform that are mapped - * from DoubleClick to AdWords. These lists are readonly. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExternalRemarketingUserList extends UserList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "ExternalRemarketingUserList"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $isReadOnly = null, $name = null, $description = null, $status = null, $integrationCode = null, $accessReason = null, $accountUserListStatus = null, $membershipLifeSpan = null, $size = null, $sizeRange = null, $sizeForSearch = null, $sizeRangeForSearch = null, $UserListType = null) { - parent::__construct(); - $this->id = $id; - $this->isReadOnly = $isReadOnly; - $this->name = $name; - $this->description = $description; - $this->status = $status; - $this->integrationCode = $integrationCode; - $this->accessReason = $accessReason; - $this->accountUserListStatus = $accountUserListStatus; - $this->membershipLifeSpan = $membershipLifeSpan; - $this->size = $size; - $this->sizeRange = $sizeRange; - $this->sizeForSearch = $sizeForSearch; - $this->sizeRangeForSearch = $sizeRangeForSearch; - $this->UserListType = $UserListType; - } - - } -} - -if (!class_exists("LogicalUserList", false)) { - /** - * Represents a user list that is a custom combination of user lists and user - * interests. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LogicalUserList extends UserList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "LogicalUserList"; - - /** - * @access public - * @var UserListLogicalRule[] - */ - public $rules; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($rules = null, $id = null, $isReadOnly = null, $name = null, $description = null, $status = null, $integrationCode = null, $accessReason = null, $accountUserListStatus = null, $membershipLifeSpan = null, $size = null, $sizeRange = null, $sizeForSearch = null, $sizeRangeForSearch = null, $UserListType = null) { - parent::__construct(); - $this->rules = $rules; - $this->id = $id; - $this->isReadOnly = $isReadOnly; - $this->name = $name; - $this->description = $description; - $this->status = $status; - $this->integrationCode = $integrationCode; - $this->accessReason = $accessReason; - $this->accountUserListStatus = $accountUserListStatus; - $this->membershipLifeSpan = $membershipLifeSpan; - $this->size = $size; - $this->sizeRange = $sizeRange; - $this->sizeForSearch = $sizeForSearch; - $this->sizeRangeForSearch = $sizeRangeForSearch; - $this->UserListType = $UserListType; - } - - } -} - -if (!class_exists("BasicUserList", false)) { - /** - * User list targeting as a collection of conversion types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BasicUserList extends UserList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "BasicUserList"; - - /** - * @access public - * @var UserListConversionType[] - */ - public $conversionTypes; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conversionTypes = null, $id = null, $isReadOnly = null, $name = null, $description = null, $status = null, $integrationCode = null, $accessReason = null, $accountUserListStatus = null, $membershipLifeSpan = null, $size = null, $sizeRange = null, $sizeForSearch = null, $sizeRangeForSearch = null, $UserListType = null) { - parent::__construct(); - $this->conversionTypes = $conversionTypes; - $this->id = $id; - $this->isReadOnly = $isReadOnly; - $this->name = $name; - $this->description = $description; - $this->status = $status; - $this->integrationCode = $integrationCode; - $this->accessReason = $accessReason; - $this->accountUserListStatus = $accountUserListStatus; - $this->membershipLifeSpan = $membershipLifeSpan; - $this->size = $size; - $this->sizeRange = $sizeRange; - $this->sizeForSearch = $sizeForSearch; - $this->sizeRangeForSearch = $sizeRangeForSearch; - $this->UserListType = $UserListType; - } - - } -} - -if (!class_exists("SimilarUserList", false)) { - /** - * SimilarUserList is a list of users which are similar to users from another UserList. - * These lists are readonly and automatically created by google. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SimilarUserList extends UserList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const XSI_TYPE = "SimilarUserList"; - - /** - * @access public - * @var integer - */ - public $seedUserListId; - - /** - * @access public - * @var string - */ - public $seedUserListName; - - /** - * @access public - * @var string - */ - public $seedUserListDescription; - - /** - * @access public - * @var tnsUserListMembershipStatus - */ - public $seedUserListStatus; - - /** - * @access public - * @var integer - */ - public $seedListSize; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($seedUserListId = null, $seedUserListName = null, $seedUserListDescription = null, $seedUserListStatus = null, $seedListSize = null, $id = null, $isReadOnly = null, $name = null, $description = null, $status = null, $integrationCode = null, $accessReason = null, $accountUserListStatus = null, $membershipLifeSpan = null, $size = null, $sizeRange = null, $sizeForSearch = null, $sizeRangeForSearch = null, $UserListType = null) { - parent::__construct(); - $this->seedUserListId = $seedUserListId; - $this->seedUserListName = $seedUserListName; - $this->seedUserListDescription = $seedUserListDescription; - $this->seedUserListStatus = $seedUserListStatus; - $this->seedListSize = $seedListSize; - $this->id = $id; - $this->isReadOnly = $isReadOnly; - $this->name = $name; - $this->description = $description; - $this->status = $status; - $this->integrationCode = $integrationCode; - $this->accessReason = $accessReason; - $this->accountUserListStatus = $accountUserListStatus; - $this->membershipLifeSpan = $membershipLifeSpan; - $this->size = $size; - $this->sizeRange = $sizeRange; - $this->sizeForSearch = $sizeForSearch; - $this->sizeRangeForSearch = $sizeRangeForSearch; - $this->UserListType = $UserListType; - } - - } -} - -if (!class_exists("AdwordsUserListService", false)) { - /** - * AdwordsUserListService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdwordsUserListService extends AdWordsSoapClient { - - const SERVICE_NAME = "AdwordsUserListService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/rm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/rm/v201402/AdwordsUserListService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/rm/v201402/AdwordsUserListService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NotWhitelistedError" => "NotWhitelistedError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NotWhitelistedError.Reason" => "NotWhitelistedErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "ExternalRemarketingUserList" => "ExternalRemarketingUserList", - "CollectionSizeError" => "CollectionSizeError", - "UserListConversionType" => "UserListConversionType", - "LogicalUserList" => "LogicalUserList", - "LogicalUserListOperand" => "LogicalUserListOperand", - "BasicUserList" => "BasicUserList", - "SimilarUserList" => "SimilarUserList", - "UserList" => "UserList", - "UserListError" => "UserListError", - "UserListLogicalRule" => "UserListLogicalRule", - "UserListOperation" => "UserListOperation", - "UserListPage" => "UserListPage", - "UserListReturnValue" => "UserListReturnValue", - "AccessReason" => "AccessReason", - "AccountUserListStatus" => "AccountUserListStatus", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "UserListConversionType.Category" => "UserListConversionTypeCategory", - "SizeRange" => "SizeRange", - "UserListError.Reason" => "UserListErrorReason", - "UserListLogicalRule.Operator" => "UserListLogicalRuleOperator", - "UserListMembershipStatus" => "UserListMembershipStatus", - "get" => "AdwordsUserListServiceGet", - "getResponse" => "AdwordsUserListServiceGetResponse", - "mutate" => "AdwordsUserListServiceMutate", - "mutateResponse" => "AdwordsUserListServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of user lists that meet the selector criteria. - * - * @param serviceSelector the selector specifying the {@link UserList}s to return. - * @return a list of UserList entities which meet the selector criteria. - * @throws ApiException if problems occurred while fetching UserList information. - */ - public function get($serviceSelector) { - $args = new AdwordsUserListServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * The minimum size of this collection is 1. The maximum size of this collection is 10000. - * This field must not contain {@code null} elements. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Applies a list of mutate operations (i.e. add, set): - * - * Add - creates a set of user lists - * Set - updates a set of user lists - * - * @param operations the operations to apply - * @return a list of UserList objects - */ - public function mutate($operations) { - $args = new AdwordsUserListServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/AlertService.php b/src/Google/Api/Ads/AdWords/v201402/AlertService.php deleted file mode 100755 index 5609f68e7..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/AlertService.php +++ /dev/null @@ -1,2871 +0,0 @@ -startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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.

- * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AlertError", false)) { - /** - * Errors that can occur when using {@link AlertService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertError"; - - /** - * @access public - * @var tnsAlertErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AlertQuery", false)) { - /** - * Querying criteria for getting alerts. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertQuery { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertQuery"; - - /** - * @access public - * @var tnsClientSpec - */ - public $clientSpec; - - /** - * @access public - * @var tnsFilterSpec - */ - public $filterSpec; - - /** - * @access public - * @var tnsAlertType[] - */ - public $types; - - /** - * @access public - * @var tnsAlertSeverity[] - */ - public $severities; - - /** - * @access public - * @var tnsTriggerTimeSpec - */ - public $triggerTimeSpec; - - /** - * @access public - * @var string - */ - public $triggerTime; - - /** - * @access public - * @var integer[] - */ - public $clientCustomerIds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientSpec = null, $filterSpec = null, $types = null, $severities = null, $triggerTimeSpec = null, $triggerTime = null, $clientCustomerIds = null) { - $this->clientSpec = $clientSpec; - $this->filterSpec = $filterSpec; - $this->types = $types; - $this->severities = $severities; - $this->triggerTimeSpec = $triggerTimeSpec; - $this->triggerTime = $triggerTime; - $this->clientCustomerIds = $clientCustomerIds; - } - - } -} - -if (!class_exists("Detail", false)) { - /** - * Detail refers to a single event or condition that triggered its owning {@link Alert}. - * Multiple details can cause the same {@code Alert} to occur. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Detail { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "Detail"; - - /** - * @access public - * @var string - */ - public $triggerTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($triggerTime = null) { - $this->triggerTime = $triggerTime; - } - - } -} - -if (!class_exists("Alert", false)) { - /** - * Alert for a single client. Triggering events are grouped by {@link AlertType} into the same alert - * with multiple {@link Details}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Alert { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "Alert"; - - /** - * @access public - * @var tnsAlertSeverity - */ - public $alertSeverity; - - /** - * @access public - * @var tnsAlertType - */ - public $alertType; - - /** - * @access public - * @var integer - */ - public $clientCustomerId; - - /** - * @access public - * @var Detail[] - */ - public $details; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($alertSeverity = null, $alertType = null, $clientCustomerId = null, $details = null) { - $this->alertSeverity = $alertSeverity; - $this->alertType = $alertType; - $this->clientCustomerId = $clientCustomerId; - $this->details = $details; - } - - } -} - -if (!class_exists("AlertSelector", false)) { - /** - * Selector for querying for alerts. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertSelector"; - - /** - * @access public - * @var AlertQuery - */ - public $query; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $paging = null) { - $this->query = $query; - $this->paging = $paging; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AlertErrorReason", false)) { - /** - * The possible reasons for an {@link AlertError} to occur. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AlertSeverity", false)) { - /** - * Severity of an alert, represented as a "color". - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertSeverity { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertSeverity"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AlertType", false)) { - /** - * Type of an alert. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientSpec", false)) { - /** - * Specification of which managed accounts a client manager is interested in. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ClientSpec"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FilterSpec", false)) { - /** - * Describes how a result set of alerts should be filtered based on the triggering account's - * ability to manage clients. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FilterSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "FilterSpec"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TriggerTimeSpec", false)) { - /** - * Specification of what trigger time alerts should match. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TriggerTimeSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "TriggerTimeSpec"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AlertServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets the list of alerts matching the specified clients and time period. - * - * @param selector selects the alerts for which to search. - * @return a page of alerts. - * @throws ApiException if an error occurs - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AlertSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("AlertServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AlertPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AlertPage", false)) { - /** - * Contains a subset of {@link Alert}s resulting from the filtering and paging, - * returned by {@link AlertService#get(AlertSelector)}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertPage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "AlertPage"; - - /** - * @access public - * @var Alert[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("AlertService", false)) { - /** - * AlertService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AlertService extends AdWordsSoapClient { - - const SERVICE_NAME = "AlertService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/mcm/v201402/AlertService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/mcm/v201402/AlertService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "Paging" => "Paging", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "AlertError" => "AlertError", - "AlertQuery" => "AlertQuery", - "Detail" => "Detail", - "Alert" => "Alert", - "AlertPage" => "AlertPage", - "AlertSelector" => "AlertSelector", - "NoStatsPage" => "NoStatsPage", - "AlertError.Reason" => "AlertErrorReason", - "AlertSeverity" => "AlertSeverity", - "AlertType" => "AlertType", - "ClientSpec" => "ClientSpec", - "FilterSpec" => "FilterSpec", - "TriggerTimeSpec" => "TriggerTimeSpec", - "get" => "AlertServiceGet", - "getResponse" => "AlertServiceGetResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets the list of alerts matching the specified clients and time period. - * - * @param selector selects the alerts for which to search. - * @return a page of alerts. - * @throws ApiException if an error occurs - */ - public function get($selector) { - $args = new AlertServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/BiddingStrategyService.php b/src/Google/Api/Ads/AdWords/v201402/BiddingStrategyService.php deleted file mode 100755 index 3de608c92..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/BiddingStrategyService.php +++ /dev/null @@ -1,4889 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("BiddingScheme", false)) { - /** - * Base class for all bidding schemes. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingScheme"; - - /** - * @access public - * @var string - */ - public $BiddingSchemeType; - private $_parameterMap = array( - "BiddingScheme.Type" => "BiddingSchemeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("SharedBiddingStrategy", false)) { - /** - * Bidding strategies store shared bidding configuration data and are account-level objects. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedBiddingStrategy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedBiddingStrategy"; - - /** - * @access public - * @var BiddingScheme - */ - public $biddingScheme; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsSharedBiddingStrategyBiddingStrategyStatus - */ - public $status; - - /** - * @access public - * @var tnsBiddingStrategyType - */ - 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($biddingScheme = null, $id = null, $name = null, $status = null, $type = null) { - $this->biddingScheme = $biddingScheme; - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->type = $type; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorsReason", false)) { - /** - * Bidding strategy cannot override ad group or campaign bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorsReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SharedBiddingStrategyBiddingStrategyStatus", false)) { - /** - * Status of the bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedBiddingStrategyBiddingStrategyStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedBiddingStrategy.BiddingStrategyStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyErrorReason", false)) { - /** - * Each bidding strategy must have a unique name. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyType", false)) { - /** - * The bidding strategy type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemeBidType", false)) { - /** - * Average cost-per-acquisition (targetCPA) bid type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemeBidType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.BidType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemePricingMode", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemePricingMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.PricingMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PageOnePromotedBiddingSchemeStrategyGoal", false)) { - /** - * First page on google.com. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingSchemeStrategyGoal { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("BiddingStrategyServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of bidding strategies that match the selector. - * - * @return list of bidding strategies specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("BiddingStrategyServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BiddingStrategyPage - */ - 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("BiddingStrategyServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * - * @param operations the operations to apply - * @return the modified list of BiddingStrategy - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BiddingStrategyOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("BiddingStrategyServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BiddingStrategyReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of bidding strategies that match the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BiddingStrategyPage - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingErrors", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrors extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors"; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingStrategyError", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyError"; - - /** - * @access public - * @var tnsBiddingStrategyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingScheme", false)) { - /** - * Conversion optimizer bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - *

{@code pricingMode} currently defaults to {@code CLICKS} and - * cannot be changed.

- * - *

Note that campaigns must meet - * specific eligibility requirements before they can use the - * ConversionOptimizer bidding strategy.

- * - *

For more information on conversion optimizer, visit the - * Conversion Optimizer help center.

- * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme"; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemePricingMode - */ - public $pricingMode; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemeBidType - */ - public $bidType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($pricingMode = null, $bidType = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->pricingMode = $pricingMode; - $this->bidType = $bidType; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EnhancedCpcBiddingScheme", false)) { - /** - * Enhanced CPC is a bidding strategy that raises your bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less likely. - * - * This bidding scheme does not support criteria level bidding strategy overrides. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EnhancedCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EnhancedCpcBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ManualCpcBiddingScheme", false)) { - /** - * Manual click based bidding where user pays per click. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpcBiddingScheme"; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCpmBiddingScheme", false)) { - /** - * Manual impression based bidding where user pays per thousand impressions. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpmBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpmBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PercentCpaBiddingScheme", false)) { - /** - * Percentage CPA based bidding scheme attributes where user pays a percent of conversions. - * This bidding strategy is available only to some advertisers. - *

A campaign can only be created with PercentCPA bidding strategy. Existing - * campaigns with a different bidding strategy cannot be transitioned to PercentCPA. - *

Similarly, once created as a PercentCPA, a campaign cannot be transitioned to - * any other bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PageOnePromotedBiddingScheme", false)) { - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme"; - - /** - * @access public - * @var tnsPageOnePromotedBiddingSchemeStrategyGoal - */ - public $strategyGoal; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var boolean - */ - public $bidChangesForRaisesOnly; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenBudgetConstained; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenLowQualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($strategyGoal = null, $bidCeiling = null, $bidModifier = null, $bidChangesForRaisesOnly = null, $raiseBidWhenBudgetConstained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->strategyGoal = $strategyGoal; - $this->bidCeiling = $bidCeiling; - $this->bidModifier = $bidModifier; - $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; - $this->raiseBidWhenBudgetConstained = $raiseBidWhenBudgetConstained; - $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetCpaBiddingScheme", false)) { - /** - * Target Cpa bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - * This is similar to the ConversionOptimizerBiddingScheme but does not - * support user-entered AdGroup-level target CPA bids, but rather a strategy-wide - * average CPA target. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetCpaBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetCpaBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $targetCpa; - - /** - * @access public - * @var Money - */ - public $maxCpcBidCeiling; - - /** - * @access public - * @var Money - */ - public $maxCpcBidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetCpa = null, $maxCpcBidCeiling = null, $maxCpcBidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetCpa = $targetCpa; - $this->maxCpcBidCeiling = $maxCpcBidCeiling; - $this->maxCpcBidFloor = $maxCpcBidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetRoasBiddingScheme", false)) { - /** - * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). - * - * For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while - * ensuring that every $1.00 of clicks provides $1.50 in conversion value. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetRoasBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetRoasBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetRoasBiddingScheme"; - - /** - * @access public - * @var double - */ - public $targetRoas; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $bidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetRoas = null, $bidCeiling = null, $bidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetRoas = $targetRoas; - $this->bidCeiling = $bidCeiling; - $this->bidFloor = $bidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetSpendBiddingScheme", false)) { - /** - * Target Spend bidding scheme, in which Google automatically places - * bids for the user based on their daily/monthly budget or optional - * spend target. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetSpendBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetSpendBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $spendTarget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $spendTarget = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->spendTarget = $spendTarget; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BudgetOptimizerBiddingScheme", false)) { - /** - * In budget optimizer, Google automatically places bids for the user based on - * their daily/monthly budget. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOptimizerBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BiddingStrategyOperation", false)) { - /** - * Operations for adding/updating bidding strategies. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyOperation"; - - /** - * @access public - * @var SharedBiddingStrategy - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("BiddingStrategyPage", false)) { - /** - * Contains a list of bidding strategies resulting from the filtering and paging - * of {@link BiddingStrategy#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyPage"; - - /** - * @access public - * @var SharedBiddingStrategy[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("BiddingStrategyReturnValue", false)) { - /** - * A container for return values from the {@link BiddingStrategyService#mutate} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyReturnValue"; - - /** - * @access public - * @var SharedBiddingStrategy[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("BiddingStrategyService", false)) { - /** - * BiddingStrategyService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyService extends AdWordsSoapClient { - - const SERVICE_NAME = "BiddingStrategyService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/BiddingStrategyService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/BiddingStrategyService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BiddingErrors" => "BiddingErrors", - "BiddingStrategyError" => "BiddingStrategyError", - "ClientTermsError" => "ClientTermsError", - "ConversionOptimizerBiddingScheme" => "ConversionOptimizerBiddingScheme", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "LongValue" => "LongValue", - "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", - "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", - "Money" => "Money", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "PercentCpaBiddingScheme" => "PercentCpaBiddingScheme", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "ComparableValue" => "ComparableValue", - "DatabaseError" => "DatabaseError", - "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", - "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", - "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", - "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "BudgetOptimizerBiddingScheme" => "BudgetOptimizerBiddingScheme", - "Selector" => "Selector", - "BiddingScheme" => "BiddingScheme", - "SharedBiddingStrategy" => "SharedBiddingStrategy", - "BiddingStrategyOperation" => "BiddingStrategyOperation", - "BiddingStrategyPage" => "BiddingStrategyPage", - "BiddingStrategyReturnValue" => "BiddingStrategyReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BiddingErrors.Reason" => "BiddingErrorsReason", - "SharedBiddingStrategy.BiddingStrategyStatus" => "SharedBiddingStrategyBiddingStrategyStatus", - "BiddingStrategyError.Reason" => "BiddingStrategyErrorReason", - "BiddingStrategyType" => "BiddingStrategyType", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConversionOptimizerBiddingScheme.BidType" => "ConversionOptimizerBiddingSchemeBidType", - "ConversionOptimizerBiddingScheme.PricingMode" => "ConversionOptimizerBiddingSchemePricingMode", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "BiddingStrategyServiceGet", - "getResponse" => "BiddingStrategyServiceGetResponse", - "mutate" => "BiddingStrategyServiceMutate", - "mutateResponse" => "BiddingStrategyServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of bidding strategies that match the selector. - * - * @return list of bidding strategies specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - */ - public function get($selector) { - $args = new BiddingStrategyServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * - * @param operations the operations to apply - * @return the modified list of BiddingStrategy - * @throws ApiException - */ - public function mutate($operations) { - $args = new BiddingStrategyServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of bidding strategies that match the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/BudgetOrderService.php b/src/Google/Api/Ads/AdWords/v201402/BudgetOrderService.php deleted file mode 100755 index a1f43b95c..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/BudgetOrderService.php +++ /dev/null @@ -1,4986 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotWhitelistedError", false)) { - /** - * Indicates that the customer is not whitelisted for accessing the API. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError"; - - /** - * @access public - * @var tnsNotWhitelistedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotWhitelistedErrorReason", false)) { - /** - * The single reason for the whitelist error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("BillingAccount", false)) { - /** - * Represents an BillingAccount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BillingAccount { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BillingAccount"; - - /** - * @access public - * @var string - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $currencyCode; - - /** - * @access public - * @var string - */ - public $primaryBillingId; - - /** - * @access public - * @var string - */ - public $secondaryBillingId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $primaryBillingId = null, $secondaryBillingId = null) { - $this->id = $id; - $this->name = $name; - $this->currencyCode = $currencyCode; - $this->primaryBillingId = $primaryBillingId; - $this->secondaryBillingId = $secondaryBillingId; - } - - } -} - -if (!class_exists("BudgetOrder", false)) { - /** - * A {@link BudgetOrder} links an account wide budget with a {@link BillingAccount}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrder"; - - /** - * @access public - * @var string - */ - public $billingAccountId; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $billingAccountName; - - /** - * @access public - * @var string - */ - public $poNumber; - - /** - * @access public - * @var string - */ - public $budgetOrderName; - - /** - * @access public - * @var string - */ - public $primaryBillingId; - - /** - * @access public - * @var string - */ - public $secondaryBillingId; - - /** - * @access public - * @var Money - */ - public $spendingLimit; - - /** - * @access public - * @var string - */ - public $startDateTime; - - /** - * @access public - * @var string - */ - public $endDateTime; - - /** - * @access public - * @var BudgetOrderRequest - */ - public $lastRequest; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($billingAccountId = null, $id = null, $billingAccountName = null, $poNumber = null, $budgetOrderName = null, $primaryBillingId = null, $secondaryBillingId = null, $spendingLimit = null, $startDateTime = null, $endDateTime = null, $lastRequest = null) { - $this->billingAccountId = $billingAccountId; - $this->id = $id; - $this->billingAccountName = $billingAccountName; - $this->poNumber = $poNumber; - $this->budgetOrderName = $budgetOrderName; - $this->primaryBillingId = $primaryBillingId; - $this->secondaryBillingId = $secondaryBillingId; - $this->spendingLimit = $spendingLimit; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - $this->lastRequest = $lastRequest; - } - - } -} - -if (!class_exists("BudgetOrderError", false)) { - /** - * Error information for BudgetOrderService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderError"; - - /** - * @access public - * @var tnsBudgetOrderErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetOrderOperation", false)) { - /** - * Operation for {@link BudgetOrder}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderOperation"; - - /** - * @access public - * @var BudgetOrder - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("BudgetOrderPage", false)) { - /** - * A page of {@link BudgetOrder}s from {@link BudgetOrderService#get} - * method. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderPage"; - - /** - * @access public - * @var BudgetOrder[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("BudgetOrderRequest", false)) { - /** - * Holds fields that provide information on the last set of values that were passed in through - * the parent BudgetOrder for mutate.add and mutate.set. - * This element only applies if manager account is whitelisted for new billing backend. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderRequest"; - - /** - * @access public - * @var tnsBudgetOrderRequestStatus - */ - public $status; - - /** - * @access public - * @var string - */ - public $date; - - /** - * @access public - * @var string - */ - public $billingAccountName; - - /** - * @access public - * @var string - */ - public $poNumber; - - /** - * @access public - * @var string - */ - public $budgetOrderName; - - /** - * @access public - * @var Money - */ - public $spendingLimit; - - /** - * @access public - * @var string - */ - public $startDateTime; - - /** - * @access public - * @var string - */ - public $endDateTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $date = null, $billingAccountName = null, $poNumber = null, $budgetOrderName = null, $spendingLimit = null, $startDateTime = null, $endDateTime = null) { - $this->status = $status; - $this->date = $date; - $this->billingAccountName = $billingAccountName; - $this->poNumber = $poNumber; - $this->budgetOrderName = $budgetOrderName; - $this->spendingLimit = $spendingLimit; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - } - - } -} - -if (!class_exists("BudgetOrderReturnValue", false)) { - /** - * A container for return values from the {@link BudgetOrderService#mutate} - * method. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderReturnValue"; - - /** - * @access public - * @var BudgetOrder[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("CustomerOrderLineError", false)) { - /** - * Error information returned for CustomerOrderLineService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerOrderLineError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "CustomerOrderLineError"; - - /** - * @access public - * @var tnsCustomerOrderLineErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetOrderErrorReason", false)) { - /** - * The request contains a field that is only available if the manager account - * is whitelisted for new billing backend. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetOrderRequestStatus", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderRequestStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "BudgetOrderRequest.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("CustomerOrderLineErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during a CustomerOrderLine mutate - * operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerOrderLineErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = "CustomerOrderLineError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetOrderServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets a list of {@link BudgetOrder}s using the generic selector. - * @param serviceSelector specifies which BudgetOrder to return. - * @return A {@link BudgetOrderPage} of BudgetOrders of the client customer. - * All BudgetOrder fields are returned. Stats are not yet supported. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("BudgetOrderServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetOrderPage - */ - 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("GetBillingAccounts", false)) { - /** - * Returns all the open/active BillingAccounts associated with the current - * manager. - * @return A list of {@link BillingAccount}s. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetBillingAccounts { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - 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("GetBillingAccountsResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetBillingAccountsResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BillingAccount[] - */ - 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("BudgetOrderServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Mutates BudgetOrders, supported operations are: - *

ADD: Adds a {@link BudgetOrder} to the billing account - * specified by the billing account ID.

- *

SET: Sets the start/end date and amount of the - * {@link BudgetOrder}.

- *

REMOVE: Cancels the {@link BudgetOrder} (status change).

- *

Warning: The BudgetOrderService - * is limited to one operation per mutate request. Any attempt to make more - * than one operation will result in an ApiException.

- * @param operations A list of operations, however currently we only - * support one operation per mutate call. - * @return BudgetOrders affected by the mutate operation. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetOrderOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("BudgetOrderServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetOrderReturnValue - */ - 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("BudgetOrderService", false)) { - /** - * BudgetOrderService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOrderService extends AdWordsSoapClient { - - const SERVICE_NAME = "BudgetOrderService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/billing/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/billing/v201402/BudgetOrderService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/billing/v201402/BudgetOrderService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "LongValue" => "LongValue", - "Money" => "Money", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NotWhitelistedError" => "NotWhitelistedError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "PagingError" => "PagingError", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NotWhitelistedError.Reason" => "NotWhitelistedErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "BillingAccount" => "BillingAccount", - "BudgetOrder" => "BudgetOrder", - "BudgetOrderError" => "BudgetOrderError", - "BudgetOrderOperation" => "BudgetOrderOperation", - "BudgetOrderPage" => "BudgetOrderPage", - "BudgetOrderRequest" => "BudgetOrderRequest", - "BudgetOrderReturnValue" => "BudgetOrderReturnValue", - "CustomerOrderLineError" => "CustomerOrderLineError", - "BudgetOrderError.Reason" => "BudgetOrderErrorReason", - "BudgetOrderRequest.Status" => "BudgetOrderRequestStatus", - "CustomerOrderLineError.Reason" => "CustomerOrderLineErrorReason", - "get" => "BudgetOrderServiceGet", - "getResponse" => "BudgetOrderServiceGetResponse", - "getBillingAccounts" => "GetBillingAccounts", - "getBillingAccountsResponse" => "GetBillingAccountsResponse", - "mutate" => "BudgetOrderServiceMutate", - "mutateResponse" => "BudgetOrderServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets a list of {@link BudgetOrder}s using the generic selector. - * @param serviceSelector specifies which BudgetOrder to return. - * @return A {@link BudgetOrderPage} of BudgetOrders of the client customer. - * All BudgetOrder fields are returned. Stats are not yet supported. - * @throws ApiException - */ - public function get($serviceSelector) { - $args = new BudgetOrderServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * Returns all the open/active BillingAccounts associated with the current - * manager. - * @return A list of {@link BillingAccount}s. - * @throws ApiException - */ - public function getBillingAccounts() { - $args = new GetBillingAccounts(); - $result = $this->__soapCall("getBillingAccounts", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Mutates BudgetOrders, supported operations are: - *

ADD: Adds a {@link BudgetOrder} to the billing account - * specified by the billing account ID.

- *

SET: Sets the start/end date and amount of the - * {@link BudgetOrder}.

- *

REMOVE: Cancels the {@link BudgetOrder} (status change).

- *

Warning: The BudgetOrderService - * is limited to one operation per mutate request. Any attempt to make more - * than one operation will result in an ApiException.

- * @param operations A list of operations, however currently we only - * support one operation per mutate call. - * @return BudgetOrders affected by the mutate operation. - * @throws ApiException - */ - public function mutate($operations) { - $args = new BudgetOrderServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/BudgetService.php b/src/Google/Api/Ads/AdWords/v201402/BudgetService.php deleted file mode 100755 index 54c5ffd07..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/BudgetService.php +++ /dev/null @@ -1,4072 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("Budget", false)) { - /** - * Budgets are used for managing the amount of money spent on AdWords. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Budget { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget"; - - /** - * @access public - * @var integer - */ - public $budgetId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsBudgetBudgetPeriod - */ - public $period; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * @access public - * @var tnsBudgetBudgetDeliveryMethod - */ - public $deliveryMethod; - - /** - * @access public - * @var integer - */ - public $referenceCount; - - /** - * @access public - * @var boolean - */ - public $isExplicitlyShared; - - /** - * @access public - * @var tnsBudgetBudgetStatus - */ - 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($budgetId = null, $name = null, $period = null, $amount = null, $deliveryMethod = null, $referenceCount = null, $isExplicitlyShared = null, $status = null) { - $this->budgetId = $budgetId; - $this->name = $name; - $this->period = $period; - $this->amount = $amount; - $this->deliveryMethod = $deliveryMethod; - $this->referenceCount = $referenceCount; - $this->isExplicitlyShared = $isExplicitlyShared; - $this->status = $status; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetDeliveryMethod", false)) { - /** - * Budget delivery methods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetDeliveryMethod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetDeliveryMethod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetPeriod", false)) { - /** - * Budget periods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetPeriod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetPeriod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetStatus", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetErrorReason", false)) { - /** - * The reasons for the budget error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("BudgetServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of budgets that match the selector. - * - * @return List of budgets specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("BudgetServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetPage - */ - 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("BudgetServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * - * @param operations The operations to apply. - * @return The modified list of Budgets, returned in the same order as operations. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("BudgetServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of budgets that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of Budget - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var BudgetPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetError", false)) { - /** - * A list of all the error codes being used by the common budget domain package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError"; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BudgetOperation", false)) { - /** - * Operations for adding/updating Budget entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOperation"; - - /** - * @access public - * @var Budget - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("BudgetPage", false)) { - /** - * Contains a list of budgets resulting from the filtering and paging of - * {@link BudgetService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetPage"; - - /** - * @access public - * @var Budget[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("BudgetReturnValue", false)) { - /** - * A container for return values from the {@link BudgetService#mutate} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetReturnValue"; - - /** - * @access public - * @var Budget[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("BudgetService", false)) { - /** - * BudgetService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetService extends AdWordsSoapClient { - - const SERVICE_NAME = "BudgetService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/BudgetService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/BudgetService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BudgetError" => "BudgetError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "LongValue" => "LongValue", - "Money" => "Money", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "ComparableValue" => "ComparableValue", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "Budget" => "Budget", - "BudgetOperation" => "BudgetOperation", - "BudgetPage" => "BudgetPage", - "BudgetReturnValue" => "BudgetReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "Budget.BudgetDeliveryMethod" => "BudgetBudgetDeliveryMethod", - "Budget.BudgetPeriod" => "BudgetBudgetPeriod", - "Budget.BudgetStatus" => "BudgetBudgetStatus", - "BudgetError.Reason" => "BudgetErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "BudgetServiceGet", - "getResponse" => "BudgetServiceGetResponse", - "mutate" => "BudgetServiceMutate", - "mutateResponse" => "BudgetServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of budgets that match the selector. - * - * @return List of budgets specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - */ - public function get($selector) { - $args = new BudgetServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * - * @param operations The operations to apply. - * @return The modified list of Budgets, returned in the same order as operations. - * @throws ApiException - */ - public function mutate($operations) { - $args = new BudgetServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of budgets that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of Budget - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CampaignAdExtensionService.php b/src/Google/Api/Ads/AdWords/v201402/CampaignAdExtensionService.php deleted file mode 100755 index 28b00cbcc..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CampaignAdExtensionService.php +++ /dev/null @@ -1,4372 +0,0 @@ -streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("OAuthInfo", false)) { - /** - * Data used for authorization using OAuth. - * For more information about OAuth, see: - * {@link "https://developers.google.com/accounts/docs/OAuth2"} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OAuthInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OAuthInfo"; - - /** - * @access public - * @var string - */ - public $httpMethod; - - /** - * @access public - * @var string - */ - public $httpRequestUrl; - - /** - * @access public - * @var string - */ - public $httpAuthorizationHeader; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($httpMethod = null, $httpRequestUrl = null, $httpAuthorizationHeader = null) { - $this->httpMethod = $httpMethod; - $this->httpRequestUrl = $httpRequestUrl; - $this->httpAuthorizationHeader = $httpAuthorizationHeader; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AdExtension", false)) { - /** - * Base class for AdExtension objects. An AdExtension is an extension to - * an existing ad or metadata that will process into an extension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtension"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $AdExtensionType; - private $_parameterMap = array( - "AdExtension.Type" => "AdExtensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdExtensionType = null) { - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("CampaignAdExtension", false)) { - /** - * Represents a campaign level ad extension. A campaign ad extension specifies - * a campaign and an ad extension which can extend any ad under that campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var AdExtension - */ - public $adExtension; - - /** - * @access public - * @var tnsCampaignAdExtensionStatus - */ - public $status; - - /** - * @access public - * @var tnsCampaignAdExtensionApprovalStatus - */ - public $approvalStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adExtension = null, $status = null, $approvalStatus = null) { - $this->campaignId = $campaignId; - $this->adExtension = $adExtension; - $this->status = $status; - $this->approvalStatus = $approvalStatus; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdExtensionErrorReason", false)) { - /** - * Account has been deleted - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignAdExtensionApprovalStatus", false)) { - /** - * Approval status of the CampaignAdExtension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignAdExtensionStatus", false)) { - /** - * Status of the CampaignAdExtension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension.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("CampaignAdExtensionErrorReason", false)) { - /** - * Cannot operate on an adextensions under the wrong campaign - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("LocationExtensionSource", false)) { - /** - * From manual entry in adwords frontend - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationExtensionSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationExtension.Source"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CampaignAdExtensionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CampaignAdExtension}s. - * - * @param serviceSelector The selector specifying the {@link CampaignAdExtension}s to return. - * @return The page containing the {@link CampaignAdExtension}s which meet the - * criteria specified by the selector. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("CampaignAdExtensionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignAdExtensionPage - */ - 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("CampaignAdExtensionServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * @param operations The operations to apply. The same {@link CampaignAdExtension} - * cannot be specified in more than one operation. - * @return The changed {@link CampaignAdExtension}s. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignAdExtensionOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CampaignAdExtensionServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignAdExtensionReturnValue - */ - 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("AdExtensionError", false)) { - /** - * AdExtension errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionError"; - - /** - * @access public - * @var tnsAdExtensionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignAdExtensionError", false)) { - /** - * CampaignAdExtension errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionError"; - - /** - * @access public - * @var tnsCampaignAdExtensionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("LocationExtension", false)) { - /** - * Location based ad extension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationExtension extends AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationExtension"; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var base64Binary - */ - public $encodedLocation; - - /** - * @access public - * @var string - */ - public $companyName; - - /** - * @access public - * @var string - */ - public $phoneNumber; - - /** - * @access public - * @var tnsLocationExtensionSource - */ - public $source; - - /** - * @access public - * @var integer - */ - public $iconMediaId; - - /** - * @access public - * @var integer - */ - public $imageMediaId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($address = null, $geoPoint = null, $encodedLocation = null, $companyName = null, $phoneNumber = null, $source = null, $iconMediaId = null, $imageMediaId = null, $id = null, $AdExtensionType = null) { - parent::__construct(); - $this->address = $address; - $this->geoPoint = $geoPoint; - $this->encodedLocation = $encodedLocation; - $this->companyName = $companyName; - $this->phoneNumber = $phoneNumber; - $this->source = $source; - $this->iconMediaId = $iconMediaId; - $this->imageMediaId = $imageMediaId; - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("LocationSyncExtension", false)) { - /** - * Local business center(LBC) sync extension that ties a LBC account with a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationSyncExtension extends AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationSyncExtension"; - - /** - * @access public - * @var string - */ - public $email; - - /** - * @access public - * @var string - */ - public $authToken; - - /** - * @access public - * @var OAuthInfo - */ - public $oAuthInfo; - - /** - * @access public - * @var integer - */ - public $iconMediaId; - - /** - * @access public - * @var boolean - */ - public $shouldSyncUrl; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($email = null, $authToken = null, $oAuthInfo = null, $iconMediaId = null, $shouldSyncUrl = null, $id = null, $AdExtensionType = null) { - parent::__construct(); - $this->email = $email; - $this->authToken = $authToken; - $this->oAuthInfo = $oAuthInfo; - $this->iconMediaId = $iconMediaId; - $this->shouldSyncUrl = $shouldSyncUrl; - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("CampaignAdExtensionOperation", false)) { - /** - * CampaignAdExtension service operation. Note: The {@code SET} operator - * is not supported. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionOperation"; - - /** - * @access public - * @var CampaignAdExtension - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignAdExtensionPage", false)) { - /** - * Represents a page of {@link CampaignAdExtension}s resulting from the query - * done by {@link CampaignAdExtensionService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionPage"; - - /** - * @access public - * @var CampaignAdExtension[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("CampaignAdExtensionReturnValue", false)) { - /** - * A container for return values from the CampaignAdExtensionService.mutate(). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionReturnValue"; - - /** - * @access public - * @var CampaignAdExtension[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("CampaignAdExtensionService", false)) { - /** - * CampaignAdExtensionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionService extends AdWordsSoapClient { - - const SERVICE_NAME = "CampaignAdExtensionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CampaignAdExtensionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CampaignAdExtensionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdExtensionError" => "AdExtensionError", - "Address" => "Address", - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "CampaignAdExtensionError" => "CampaignAdExtensionError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "GeoPoint" => "GeoPoint", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OAuthInfo" => "OAuthInfo", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "PagingError" => "PagingError", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "LocationExtension" => "LocationExtension", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "LocationSyncExtension" => "LocationSyncExtension", - "Selector" => "Selector", - "AdExtension" => "AdExtension", - "CampaignAdExtension" => "CampaignAdExtension", - "CampaignAdExtensionOperation" => "CampaignAdExtensionOperation", - "CampaignAdExtensionPage" => "CampaignAdExtensionPage", - "CampaignAdExtensionReturnValue" => "CampaignAdExtensionReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AdExtensionError.Reason" => "AdExtensionErrorReason", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "CampaignAdExtension.ApprovalStatus" => "CampaignAdExtensionApprovalStatus", - "CampaignAdExtension.Status" => "CampaignAdExtensionStatus", - "CampaignAdExtensionError.Reason" => "CampaignAdExtensionErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "LocationExtension.Source" => "LocationExtensionSource", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "CampaignAdExtensionServiceGet", - "getResponse" => "CampaignAdExtensionServiceGetResponse", - "mutate" => "CampaignAdExtensionServiceMutate", - "mutateResponse" => "CampaignAdExtensionServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CampaignAdExtension}s. - * - * @param serviceSelector The selector specifying the {@link CampaignAdExtension}s to return. - * @return The page containing the {@link CampaignAdExtension}s which meet the - * criteria specified by the selector. - * @throws ApiException when there is at least one error with the request. - */ - public function get($serviceSelector) { - $args = new CampaignAdExtensionServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * @param operations The operations to apply. The same {@link CampaignAdExtension} - * cannot be specified in more than one operation. - * @return The changed {@link CampaignAdExtension}s. - */ - public function mutate($operations) { - $args = new CampaignAdExtensionServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CampaignCriterionService.php b/src/Google/Api/Ads/AdWords/v201402/CampaignCriterionService.php deleted file mode 100755 index 5a59df63a..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CampaignCriterionService.php +++ /dev/null @@ -1,7275 +0,0 @@ -streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignCriterion", false)) { - /** - * Represents a campaign level criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterion"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var boolean - */ - public $isNegative; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var string - */ - public $CampaignCriterionType; - private $_parameterMap = array( - "CampaignCriterion.Type" => "CampaignCriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $isNegative = null, $criterion = null, $bidModifier = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { - $this->campaignId = $campaignId; - $this->isNegative = $isNegative; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->CampaignCriterionType = $CampaignCriterionType; - } - - } -} - -if (!class_exists("CampaignCriterionError", false)) { - /** - * Base error class for Campaign Criterion Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionError"; - - /** - * @access public - * @var tnsCampaignCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * Error class used for reporting criteria related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedFunction", false)) { - /** - * Represents a function where its operator is applied to its argument operands - * resulting in a return value. It has the form - * (Operand... Operator Operand...). The type of the return value depends on - * the operator being applied and the type of the operands. - * - *

Operands per function is limited to 20.

- * - *

Here is a code example:

- * - *

-   * 
-   * // For example "feed_attribute == 30" can be represented as:
-   * FeedId feedId = (FeedId of Feed associated with feed_attribute)
-   * FeedAttributeId feedAttributeId = (FeedAttributeId of feed_attribute)
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new FeedAttributeOperand(feedId, feedAttributeId)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(
-   * Arrays.asList((Operand) new ConstantOperand(30L)));
-   * 
-   * // Another example matching on multiple values:
-   * "feed_item_id IN (10, 20, 30)" can be represented as:
-   * 
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new ConstantOperand(30L)));
-   * 
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedFunction { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function"; - - /** - * @access public - * @var tnsFunctionOperator - */ - public $operator; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $lhsOperand; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $rhsOperand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $lhsOperand = null, $rhsOperand = null) { - $this->operator = $operator; - $this->lhsOperand = $lhsOperand; - $this->rhsOperand = $rhsOperand; - } - - } -} - -if (!class_exists("FunctionError", false)) { - /** - * Errors that indicate issues with the function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError"; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Gender", false)) { - /** - * Represents a Gender criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only excludable. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Gender extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender"; - - /** - * @access public - * @var tnsGenderGenderType - */ - public $genderType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($genderType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->genderType = $genderType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IpBlock", false)) { - /** - * Criterion used for IP exclusions. We allow: - * - *

    - *
  • IPv4 and IPv6 addresses
  • - *
  • individual addresses (192.168.0.1)
  • - *
  • masks for individual addresses (192.168.0.1/32)
  • - *
  • masks for Class C networks (192.168.0.1/24)
  • - *
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IpBlock extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IpBlock"; - - /** - * @access public - * @var string - */ - public $ipAddress; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ipAddress = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ipAddress = $ipAddress; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileDevice", false)) { - /** - * Represents a Mobile Device Criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDevice extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice"; - - /** - * @access public - * @var string - */ - public $deviceName; - - /** - * @access public - * @var string - */ - public $manufacturerName; - - /** - * @access public - * @var tnsMobileDeviceDeviceType - */ - public $deviceType; - - /** - * @access public - * @var string - */ - public $operatingSystemName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($deviceName = null, $manufacturerName = null, $deviceType = null, $operatingSystemName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->deviceName = $deviceName; - $this->manufacturerName = $manufacturerName; - $this->deviceType = $deviceType; - $this->operatingSystemName = $operatingSystemName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NegativeCampaignCriterion", false)) { - /** - * A negative campaign criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeCampaignCriterion extends CampaignCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NegativeCampaignCriterion"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $isNegative = null, $criterion = null, $bidModifier = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->isNegative = $isNegative; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->CampaignCriterionType = $CampaignCriterionType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FunctionArgumentOperand", false)) { - /** - * An operand that can be used in a function expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionArgumentOperand"; - - /** - * @access public - * @var string - */ - public $FunctionArgumentOperandType; - private $_parameterMap = array( - "FunctionArgumentOperand.Type" => "FunctionArgumentOperandType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FunctionArgumentOperandType = null) { - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("OperatingSystemVersion", false)) { - /** - * Represents an Operating System Version Criterion. - * View the complete - * list of available mobile platforms. You can also get the list from - * {@link ConstantDataService#getOperatingSystemVersionCriterion ConstantDataService}. - *

A criterion of this type can only be created using an ID. A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersion extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $osMajorVersion; - - /** - * @access public - * @var integer - */ - public $osMinorVersion; - - /** - * @access public - * @var tnsOperatingSystemVersionOperatorType - */ - public $operatorType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $osMajorVersion = null, $osMinorVersion = null, $operatorType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->osMajorVersion = $osMajorVersion; - $this->osMinorVersion = $osMinorVersion; - $this->operatorType = $operatorType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("PlacesOfInterestOperand", false)) { - /** - * This operand specifies a place of interest category for semantic targeting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacesOfInterestOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlacesOfInterestOperand"; - - /** - * @access public - * @var tnsPlacesOfInterestOperandCategory - */ - public $category; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($category = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->category = $category; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Platform", false)) { - /** - * Represents Platform criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Platform extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Platform"; - - /** - * @access public - * @var string - */ - public $platformName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($platformName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->platformName = $platformName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductDimension", false)) { - /** - * Dimension by which to subdivide or filter products. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimension"; - - /** - * @access public - * @var string - */ - public $ProductDimensionType; - private $_parameterMap = array( - "ProductDimension.Type" => "ProductDimensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ProductDimensionType = null) { - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductOfferId", false)) { - /** - * An offer ID as specified by the merchant. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductOfferId extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductOfferId"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductSalesChannel", false)) { - /** - * Defines the sales channel of the shopping products to be advertised. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductSalesChannel extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductSalesChannel"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - parent::__construct(); - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductScope", false)) { - /** - * Scope of products. Contains a set of product dimensions, all of which a product has to match to - * be included in the campaign. These product dimensions must have a value; the "everything else" - * case without a value is not allowed. - * - *

If there is no {@code ProductScope}, all products are included in the campaign. If a campaign - * has more than one {@code ProductScope}, products are included as long as they match any. - * Campaigns of {@link AdvertisingChannelType#SHOPPING} can have at most one {@code ProductScope}. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductScope extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductScope"; - - /** - * @access public - * @var ProductDimension[] - */ - public $dimensions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->dimensions = $dimensions; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductType", false)) { - /** - * One element of a product type string at a certain level. Top-level product types are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the product type. All cases of the the same - * subdivision must have the same dimension type (product type level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductType extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductType"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductTypeFull", false)) { - /** - * A full product type string. Category of the product according to the merchant's own - * classification. Example: - * - *

{@code "Home & Garden > Kitchen & Dining > Kitchen Appliances > Refrigerators"}
- * - *

Not supported by campaigns of {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductTypeFull extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductTypeFull"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("Proximity", false)) { - /** - * Represents a Proximity Criterion. - * - * A proximity is an area within a certain radius of a point with the center point being described - * by a lat/long pair. The caller may also alternatively provide address fields which will be - * geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not - * used for calculating the lat/long to target. - *

A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Proximity extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var tnsProximityDistanceUnits - */ - public $radiusDistanceUnits; - - /** - * @access public - * @var double - */ - public $radiusInUnits; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("LocationGroups", false)) { - /** - * Represents a criterion containing a function that when evaluated specifies how to target - * based on the type of the location. These "location groups" are custom, dynamic bundles of - * locations (for instance "High income areas in California" or "Airports in France"). - * - *

Examples:

- * - * For income demographic targeting, we need to specify the income tier and the geo - * which it targets. Areas in California that are in the top national income tier can be - * represented by: - *

-   * Function function = new Function();
-   * function.setLhsOperand(Arrays.asList(
-   * (Operand) new IncomeOperand(IncomeTier.TIER_1));
-   * function.setOperator(Operator.AND);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(21137L))));
-   * 
- * - * For place of interest targeting, we need to specify the place of interest category and the geo - * which it targets. Airports in France can be represented by: - *

-   * Function function = new Function();
-   * function.setLhsOperand(Arrays.asList(
-   * (Operand) new PlacesOfInterestOperand(PlacesOfInterestOperand.Category.AIRPORT));
-   * function.setOperator(Operator.AND);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(2250L))));
-   * 
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationGroups extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationGroups"; - - /** - * @access public - * @var Function - */ - public $matchingFunction; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($matchingFunction = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->matchingFunction = $matchingFunction; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AgeRangeAgeRangeType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRangeAgeRangeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange.AgeRangeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignCriterionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ContentLabelType", false)) { - /** - * Content label type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ContentLabelType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ContentLabelType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * Concrete type of criterion is required for ADD and SET operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DayOfWeek { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionOperator", false)) { - /** - * Operators that can be used in functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function.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() { - } - - } -} - -if (!class_exists("FunctionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GenderGenderType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GenderGenderType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender.GenderType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IncomeTier", false)) { - /** - * Income tiers that specify the income bracket a household falls under. TIER_1 - * belongs to the highest income bracket. The income bracket range associated with - * each tier is defined per country and computed based on income percentiles. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IncomeTier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IncomeTier"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MinuteOfHour { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MobileDeviceDeviceType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDeviceDeviceType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice.DeviceType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperatingSystemVersionOperatorType", false)) { - /** - * The operator type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersionOperatorType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion.OperatorType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PlacesOfInterestOperandCategory", false)) { - /** - * Categories to identify places of interest. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacesOfInterestOperandCategory { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlacesOfInterestOperand.Category"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("ProductCanonicalConditionCondition", false)) { - /** - * A canonical product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalConditionCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition.Condition"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductDimensionType", false)) { - /** - * Type of product dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimensionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimensionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProximityDistanceUnits", false)) { - /** - * The radius distance is expressed in either kilometers or miles. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProximityDistanceUnits { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity.DistanceUnits"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignCriterionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets campaign criteria. - * - * @param serviceSelector The selector specifying the {@link CampaignCriterion}s to return. - * @return A list of campaign criteria. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("CampaignCriterionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignCriterionPage - */ - 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("CampaignCriterionServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE, SET. - * - * - * - * Adds, removes or updates campaign criteria. - * - * @param operations The operations to apply. - * @return The added campaign criteria (without any optional parts). - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignCriterionOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CampaignCriterionServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignCriterionReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaign criteria that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of campaign criteria. - * @throws ApiException if problems occur while parsing the query or fetching campaign criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignCriterionPage - */ - 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("AdSchedule", false)) { - /** - * Represents an AdSchedule Criterion. - * AdSchedule is specified as day and time of the week criteria to target - * the Ads. - *

Note: An AdSchedule may not have more than six intervals - * in a day.

- * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdSchedule extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdSchedule"; - - /** - * @access public - * @var tnsDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $endMinute; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AgeRange", false)) { - /** - * Represents an Age Range criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only excludable. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRange extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange"; - - /** - * @access public - * @var tnsAgeRangeAgeRangeType - */ - public $ageRangeType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ageRangeType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ageRangeType = $ageRangeType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CampaignCriterionOperation", false)) { - /** - * Generic operation (add, remove and set) for campaign criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionOperation"; - - /** - * @access public - * @var CampaignCriterion - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignCriterionPage", false)) { - /** - * Contains a subset of campaign criteria resulting from a call to - * {@link CampaignCriterionService#get}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionPage"; - - /** - * @access public - * @var CampaignCriterion[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("CampaignCriterionReturnValue", false)) { - /** - * A container for return values from the CampaignCriterionService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionReturnValue"; - - /** - * @access public - * @var CampaignCriterion[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Carrier", false)) { - /** - * Represents a Carrier Criterion. - *

A criterion of this type can only be created using an ID. A criterion of this type is only targetable. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Carrier extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Carrier"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $countryCode = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->countryCode = $countryCode; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ContentLabel", false)) { - /** - * Content Label for category exclusion. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ContentLabel extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ContentLabel"; - - /** - * @access public - * @var tnsContentLabelType - */ - public $contentLabelType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($contentLabelType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->contentLabelType = $contentLabelType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("GeoTargetOperand", false)) { - /** - * Represents an operand containing geo information, specifying the scope of the - * geographical area. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetOperand"; - - /** - * @access public - * @var integer[] - */ - public $locations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locations = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->locations = $locations; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("IncomeOperand", false)) { - /** - * This operand specifies the income bracket a household falls under. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IncomeOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IncomeOperand"; - - /** - * @access public - * @var tnsIncomeTier - */ - public $tier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($tier = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->tier = $tier; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("ProductAdwordsGrouping", false)) { - /** - * An {@code adwords grouping} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsGrouping extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsGrouping"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductAdwordsLabels", false)) { - /** - * An {@code adwords labels} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsLabels extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsLabels"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBiddingCategory", false)) { - /** - * One element of a bidding category at a certain level. Top-level categories are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the category. All cases of the the same subdivision - * must have the same dimension type (category level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBiddingCategory extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBiddingCategory"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBrand", false)) { - /** - * A brand string. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBrand extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBrand"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCanonicalCondition", false)) { - /** - * A canonical condition. Only supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition"; - - /** - * @access public - * @var tnsProductCanonicalConditionCondition - */ - public $condition; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($condition = null, $ProductDimensionType = null) { - parent::__construct(); - $this->condition = $condition; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductLegacyCondition", false)) { - /** - * A plain condition string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductLegacyCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductLegacyCondition"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCustomAttribute", false)) { - /** - * A custom attribute value. As a product can have multiple custom attributes, the user must specify - * a dimension type that indicates the index of the attribute by which to subdivide. All cases of - * the same subdivision must have the same dimension type (attribute index). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCustomAttribute extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCustomAttribute"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("CampaignCriterionService", false)) { - /** - * CampaignCriterionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionService extends AdWordsSoapClient { - - const SERVICE_NAME = "CampaignCriterionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CampaignCriterionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CampaignCriterionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdSchedule" => "AdSchedule", - "Address" => "Address", - "AdxError" => "AdxError", - "AgeRange" => "AgeRange", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "CampaignCriterion" => "CampaignCriterion", - "CampaignCriterionError" => "CampaignCriterionError", - "CampaignCriterionOperation" => "CampaignCriterionOperation", - "CampaignCriterionPage" => "CampaignCriterionPage", - "CampaignCriterionReturnValue" => "CampaignCriterionReturnValue", - "Carrier" => "Carrier", - "ClientTermsError" => "ClientTermsError", - "ContentLabel" => "ContentLabel", - "Criterion" => "Criterion", - "CriterionError" => "CriterionError", - "DatabaseError" => "DatabaseError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "Function" => "FeedFunction", - "FunctionError" => "FunctionError", - "Gender" => "Gender", - "GeoPoint" => "GeoPoint", - "GeoTargetOperand" => "GeoTargetOperand", - "IdError" => "IdError", - "IncomeOperand" => "IncomeOperand", - "InternalApiError" => "InternalApiError", - "IpBlock" => "IpBlock", - "Keyword" => "Keyword", - "Language" => "Language", - "ListReturnValue" => "ListReturnValue", - "Location" => "Location", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "MobileDevice" => "MobileDevice", - "NegativeCampaignCriterion" => "NegativeCampaignCriterion", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "FunctionArgumentOperand" => "FunctionArgumentOperand", - "OperatingSystemVersion" => "OperatingSystemVersion", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "PagingError" => "PagingError", - "Placement" => "Placement", - "PlacesOfInterestOperand" => "PlacesOfInterestOperand", - "Platform" => "Platform", - "Predicate" => "Predicate", - "Product" => "Product", - "ProductAdwordsGrouping" => "ProductAdwordsGrouping", - "ProductAdwordsLabels" => "ProductAdwordsLabels", - "ProductBiddingCategory" => "ProductBiddingCategory", - "ProductBrand" => "ProductBrand", - "ProductCanonicalCondition" => "ProductCanonicalCondition", - "ProductCondition" => "ProductCondition", - "ProductLegacyCondition" => "ProductLegacyCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "ProductCustomAttribute" => "ProductCustomAttribute", - "ProductDimension" => "ProductDimension", - "ProductOfferId" => "ProductOfferId", - "ProductSalesChannel" => "ProductSalesChannel", - "ProductScope" => "ProductScope", - "ProductType" => "ProductType", - "ProductTypeFull" => "ProductTypeFull", - "Proximity" => "Proximity", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "LocationGroups" => "LocationGroups", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AdxError.Reason" => "AdxErrorReason", - "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "CampaignCriterionError.Reason" => "CampaignCriterionErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ContentLabelType" => "ContentLabelType", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DayOfWeek" => "DayOfWeek", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "Function.Operator" => "FunctionOperator", - "FunctionError.Reason" => "FunctionErrorReason", - "Gender.GenderType" => "GenderGenderType", - "IdError.Reason" => "IdErrorReason", - "IncomeTier" => "IncomeTier", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "LocationTargetingStatus" => "LocationTargetingStatus", - "MinuteOfHour" => "MinuteOfHour", - "MobileDevice.DeviceType" => "MobileDeviceDeviceType", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperatingSystemVersion.OperatorType" => "OperatingSystemVersionOperatorType", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "PlacesOfInterestOperand.Category" => "PlacesOfInterestOperandCategory", - "Predicate.Operator" => "PredicateOperator", - "ProductCanonicalCondition.Condition" => "ProductCanonicalConditionCondition", - "ProductDimensionType" => "ProductDimensionType", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "get" => "CampaignCriterionServiceGet", - "getResponse" => "CampaignCriterionServiceGetResponse", - "mutate" => "CampaignCriterionServiceMutate", - "mutateResponse" => "CampaignCriterionServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Gets campaign criteria. - * - * @param serviceSelector The selector specifying the {@link CampaignCriterion}s to return. - * @return A list of campaign criteria. - * @throws ApiException when there is at least one error with the request. - */ - public function get($serviceSelector) { - $args = new CampaignCriterionServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE, SET. - * - * - * - * Adds, removes or updates campaign criteria. - * - * @param operations The operations to apply. - * @return The added campaign criteria (without any optional parts). - * @throws ApiException when there is at least one error with the request. - */ - public function mutate($operations) { - $args = new CampaignCriterionServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaign criteria that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of campaign criteria. - * @throws ApiException if problems occur while parsing the query or fetching campaign criteria. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CampaignFeedService.php b/src/Google/Api/Ads/AdWords/v201402/CampaignFeedService.php deleted file mode 100755 index 9ddbf5d7a..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CampaignFeedService.php +++ /dev/null @@ -1,4247 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignFeed", false)) { - /** - * CampaignFeeds are used to link a feed to a campaign using a matching function, - * making the feed's feed items available in the campaign's ads for substitution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeed { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeed"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var Function - */ - public $matchingFunction; - - /** - * @access public - * @var integer[] - */ - public $placeholderTypes; - - /** - * @access public - * @var tnsCampaignFeedStatus - */ - 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($feedId = null, $campaignId = null, $matchingFunction = null, $placeholderTypes = null, $status = null) { - $this->feedId = $feedId; - $this->campaignId = $campaignId; - $this->matchingFunction = $matchingFunction; - $this->placeholderTypes = $placeholderTypes; - $this->status = $status; - } - - } -} - -if (!class_exists("CampaignFeedError", false)) { - /** - * Represents an error for the CampaignFeedService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeedError"; - - /** - * @access public - * @var tnsCampaignFeedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedFunction", false)) { - /** - * Represents a function where its operator is applied to its argument operands - * resulting in a return value. It has the form - * (Operand... Operator Operand...). The type of the return value depends on - * the operator being applied and the type of the operands. - * - *

Operands per function is limited to 20.

- * - *

Here is a code example:

- * - *

-   * 
-   * // For example "feed_attribute == 30" can be represented as:
-   * FeedId feedId = (FeedId of Feed associated with feed_attribute)
-   * FeedAttributeId feedAttributeId = (FeedAttributeId of feed_attribute)
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new FeedAttributeOperand(feedId, feedAttributeId)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(
-   * Arrays.asList((Operand) new ConstantOperand(30L)));
-   * 
-   * // Another example matching on multiple values:
-   * "feed_item_id IN (10, 20, 30)" can be represented as:
-   * 
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new ConstantOperand(30L)));
-   * 
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedFunction { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function"; - - /** - * @access public - * @var tnsFunctionOperator - */ - public $operator; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $lhsOperand; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $rhsOperand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $lhsOperand = null, $rhsOperand = null) { - $this->operator = $operator; - $this->lhsOperand = $lhsOperand; - $this->rhsOperand = $rhsOperand; - } - - } -} - -if (!class_exists("FunctionError", false)) { - /** - * Errors that indicate issues with the function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError"; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FunctionArgumentOperand", false)) { - /** - * An operand that can be used in a function expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionArgumentOperand"; - - /** - * @access public - * @var string - */ - public $FunctionArgumentOperandType; - private $_parameterMap = array( - "FunctionArgumentOperand.Type" => "FunctionArgumentOperandType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FunctionArgumentOperandType = null) { - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestContextOperand", false)) { - /** - * An operand in a function referring to a value in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand"; - - /** - * @access public - * @var tnsRequestContextOperandContextType - */ - public $contextType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($contextType = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->contextType = $contextType; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignFeedStatus", false)) { - /** - * Status of the CampaignFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeed.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("CampaignFeedErrorReason", false)) { - /** - * Error reasons. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ConstantOperandConstantType", false)) { - /** - * The types of constant operands. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperandConstantType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand.ConstantType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionOperator", false)) { - /** - * Operators that can be used in functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function.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() { - } - - } -} - -if (!class_exists("FunctionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestContextOperandContextType", false)) { - /** - * Campaign Id in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperandContextType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand.ContextType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CampaignFeedServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of CampaignFeeds that meet the selector criteria. - * - * @param selector Determines which CampaignFeeds to return. If empty all - * Campaign feeds are returned. - * @return The list of CampaignFeeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("CampaignFeedServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignFeedPage - */ - 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("CampaignFeedServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Adds, sets or removes CampaignFeeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignFeedOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CampaignFeedServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignFeedReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CampaignFeed}s inside a {@link CampaignFeedPage} that matches - * the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignFeedPage - */ - 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CampaignFeedOperation", false)) { - /** - * Operation used to create or mutate a CampaignFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeedOperation"; - - /** - * @access public - * @var CampaignFeed - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignFeedReturnValue", false)) { - /** - * The result of a call to {@link CampaignFeedService#mutate}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeedReturnValue"; - - /** - * @access public - * @var CampaignFeed[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ConstantOperand", false)) { - /** - * A constant operand in a matching function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand"; - - /** - * @access public - * @var tnsConstantOperandConstantType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $longValue; - - /** - * @access public - * @var boolean - */ - public $booleanValue; - - /** - * @access public - * @var double - */ - public $doubleValue; - - /** - * @access public - * @var string - */ - public $stringValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($type = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->type = $type; - $this->longValue = $longValue; - $this->booleanValue = $booleanValue; - $this->doubleValue = $doubleValue; - $this->stringValue = $stringValue; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("FeedAttributeOperand", false)) { - /** - * Represents a feed attribute reference to use in a function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedAttributeOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedAttributeOperand"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedAttributeId = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->feedId = $feedId; - $this->feedAttributeId = $feedAttributeId; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("FunctionOperand", false)) { - /** - * A function operand in a matching function. - * Used to represent nested functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionOperand"; - - /** - * @access public - * @var Function - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->value = $value; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("CampaignFeedPage", false)) { - /** - * The result of a call to {@link CampaignFeedService#get}. Contains a list of - * associations between campaign and feeds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignFeedPage"; - - /** - * @access public - * @var CampaignFeed[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("CampaignFeedService", false)) { - /** - * CampaignFeedService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignFeedService extends AdWordsSoapClient { - - const SERVICE_NAME = "CampaignFeedService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CampaignFeedService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CampaignFeedService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "CampaignFeed" => "CampaignFeed", - "CampaignFeedError" => "CampaignFeedError", - "CampaignFeedOperation" => "CampaignFeedOperation", - "CampaignFeedPage" => "CampaignFeedPage", - "CampaignFeedReturnValue" => "CampaignFeedReturnValue", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "ConstantOperand" => "ConstantOperand", - "DatabaseError" => "DatabaseError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "FeedAttributeOperand" => "FeedAttributeOperand", - "Function" => "FeedFunction", - "FunctionError" => "FunctionError", - "FunctionOperand" => "FunctionOperand", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NullStatsPage" => "NullStatsPage", - "FunctionArgumentOperand" => "FunctionArgumentOperand", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestContextOperand" => "RequestContextOperand", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "CampaignFeed.Status" => "CampaignFeedStatus", - "CampaignFeedError.Reason" => "CampaignFeedErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "ConstantOperand.ConstantType" => "ConstantOperandConstantType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "Function.Operator" => "FunctionOperator", - "FunctionError.Reason" => "FunctionErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestContextOperand.ContextType" => "RequestContextOperandContextType", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "CampaignFeedServiceGet", - "getResponse" => "CampaignFeedServiceGetResponse", - "mutate" => "CampaignFeedServiceMutate", - "mutateResponse" => "CampaignFeedServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of CampaignFeeds that meet the selector criteria. - * - * @param selector Determines which CampaignFeeds to return. If empty all - * Campaign feeds are returned. - * @return The list of CampaignFeeds. - * @throws ApiException Indicates a problem with the request. - */ - public function get($selector) { - $args = new CampaignFeedServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET, REMOVE. - * - * - * - * Adds, sets or removes CampaignFeeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function mutate($operations) { - $args = new CampaignFeedServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CampaignFeed}s inside a {@link CampaignFeedPage} that matches - * the query. - * - * @param query The SQL-like AWQL query string. - * @throws ApiException when there are one or more errors with the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CampaignService.php b/src/Google/Api/Ads/AdWords/v201402/CampaignService.php deleted file mode 100755 index 4932578e9..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CampaignService.php +++ /dev/null @@ -1,7230 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingError", false)) { - /** - * Represents bidding errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError"; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingErrors", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrors extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors"; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingScheme", false)) { - /** - * Base class for all bidding schemes. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingScheme"; - - /** - * @access public - * @var string - */ - public $BiddingSchemeType; - private $_parameterMap = array( - "BiddingScheme.Type" => "BiddingSchemeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BiddingStrategyConfiguration", false)) { - /** - * Encapsulates the information about bids and bidding strategies. - * - * Bidding Strategy can be set on campaigns, ad groups or ad group criteria. - * A bidding strategy can be set using one of the following: - *
    - *
  • {@linkplain BiddingStrategyConfiguration#biddingScheme bidding scheme}
  • - *
  • {@linkplain BiddingStrategyConfiguration#biddingStrategyType bidding strategy type}
  • - *
  • {@linkplain BiddingStrategyConfiguration#biddingStrategyId bidding strategy ID} for - * flexible bid strategies.
  • - *
- * If the bidding strategy type is used, then schemes are created using default values. - * - * Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. - * Multiple bids can be set at the same time. Only the bids that apply to the campaign's - * {@linkplain Campaign#biddingStrategyConfiguration bidding strategy} will be used. - * - * For more information on flexible bidding, visit the - * Help Center. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyConfiguration { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyConfiguration"; - - /** - * @access public - * @var integer - */ - public $biddingStrategyId; - - /** - * @access public - * @var string - */ - public $biddingStrategyName; - - /** - * @access public - * @var tnsBiddingStrategyType - */ - public $biddingStrategyType; - - /** - * @access public - * @var tnsBiddingStrategySource - */ - public $biddingStrategySource; - - /** - * @access public - * @var BiddingScheme - */ - public $biddingScheme; - - /** - * @access public - * @var Bids[] - */ - public $bids; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($biddingStrategyId = null, $biddingStrategyName = null, $biddingStrategyType = null, $biddingStrategySource = null, $biddingScheme = null, $bids = null) { - $this->biddingStrategyId = $biddingStrategyId; - $this->biddingStrategyName = $biddingStrategyName; - $this->biddingStrategyType = $biddingStrategyType; - $this->biddingStrategySource = $biddingStrategySource; - $this->biddingScheme = $biddingScheme; - $this->bids = $bids; - } - - } -} - -if (!class_exists("BiddingTransitionError", false)) { - /** - * Bidding transition errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingTransitionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingTransitionError"; - - /** - * @access public - * @var tnsBiddingTransitionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Bids", false)) { - /** - * Base class for all bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bids"; - - /** - * @access public - * @var string - */ - public $BidsType; - private $_parameterMap = array( - "Bids.Type" => "BidsType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BidsType = null) { - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("Budget", false)) { - /** - * Budgets are used for managing the amount of money spent on AdWords. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Budget { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget"; - - /** - * @access public - * @var integer - */ - public $budgetId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsBudgetBudgetPeriod - */ - public $period; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * @access public - * @var tnsBudgetBudgetDeliveryMethod - */ - public $deliveryMethod; - - /** - * @access public - * @var integer - */ - public $referenceCount; - - /** - * @access public - * @var boolean - */ - public $isExplicitlyShared; - - /** - * @access public - * @var tnsBudgetBudgetStatus - */ - 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($budgetId = null, $name = null, $period = null, $amount = null, $deliveryMethod = null, $referenceCount = null, $isExplicitlyShared = null, $status = null) { - $this->budgetId = $budgetId; - $this->name = $name; - $this->period = $period; - $this->amount = $amount; - $this->deliveryMethod = $deliveryMethod; - $this->referenceCount = $referenceCount; - $this->isExplicitlyShared = $isExplicitlyShared; - $this->status = $status; - } - - } -} - -if (!class_exists("BudgetError", false)) { - /** - * A list of all the error codes being used by the common budget domain package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError"; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetOptimizerBiddingScheme", false)) { - /** - * In budget optimizer, Google automatically places bids for the user based on - * their daily/monthly budget. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOptimizerBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Campaign", false)) { - /** - * Data representing an AdWords campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Campaign { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Campaign"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsCampaignStatus - */ - public $status; - - /** - * @access public - * @var tnsServingStatus - */ - public $servingStatus; - - /** - * @access public - * @var string - */ - public $startDate; - - /** - * @access public - * @var string - */ - public $endDate; - - /** - * @access public - * @var Budget - */ - public $budget; - - /** - * @access public - * @var ConversionOptimizerEligibility - */ - public $conversionOptimizerEligibility; - - /** - * @access public - * @var tnsAdServingOptimizationStatus - */ - public $adServingOptimizationStatus; - - /** - * @access public - * @var FrequencyCap - */ - public $frequencyCap; - - /** - * @access public - * @var Setting[] - */ - public $settings; - - /** - * @access public - * @var tnsAdvertisingChannelType - */ - public $advertisingChannelType; - - /** - * @access public - * @var NetworkSetting - */ - public $networkSetting; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var boolean - */ - public $displaySelect; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $servingStatus = null, $startDate = null, $endDate = null, $budget = null, $conversionOptimizerEligibility = null, $adServingOptimizationStatus = null, $frequencyCap = null, $settings = null, $advertisingChannelType = null, $networkSetting = null, $biddingStrategyConfiguration = null, $forwardCompatibilityMap = null, $displaySelect = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->servingStatus = $servingStatus; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->budget = $budget; - $this->conversionOptimizerEligibility = $conversionOptimizerEligibility; - $this->adServingOptimizationStatus = $adServingOptimizationStatus; - $this->frequencyCap = $frequencyCap; - $this->settings = $settings; - $this->advertisingChannelType = $advertisingChannelType; - $this->networkSetting = $networkSetting; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->displaySelect = $displaySelect; - } - - } -} - -if (!class_exists("CampaignError", false)) { - /** - * Base error class for Campaign Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignError"; - - /** - * @access public - * @var tnsCampaignErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingScheme", false)) { - /** - * Conversion optimizer bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - *

{@code pricingMode} currently defaults to {@code CLICKS} and - * cannot be changed.

- * - *

Note that campaigns must meet - * specific eligibility requirements before they can use the - * ConversionOptimizer bidding strategy.

- * - *

For more information on conversion optimizer, visit the - * Conversion Optimizer help center.

- * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme"; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemePricingMode - */ - public $pricingMode; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemeBidType - */ - public $bidType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($pricingMode = null, $bidType = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->pricingMode = $pricingMode; - $this->bidType = $bidType; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ConversionOptimizerEligibility", false)) { - /** - * Eligibility data for Campaign to transition to Conversion Optimizer - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerEligibility { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerEligibility"; - - /** - * @access public - * @var boolean - */ - public $eligible; - - /** - * @access public - * @var tnsConversionOptimizerEligibilityRejectionReason[] - */ - public $rejectionReasons; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($eligible = null, $rejectionReasons = null) { - $this->eligible = $eligible; - $this->rejectionReasons = $rejectionReasons; - } - - } -} - -if (!class_exists("CpaBid", false)) { - /** - * CPA Bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpaBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpcBid", false)) { - /** - * Manual click based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpcBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpcBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var Money - */ - public $contentBid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpcBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $contentBid = null, $cpcBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->contentBid = $contentBid; - $this->cpcBidSource = $cpcBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpmBid", false)) { - /** - * Manual impression based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpmBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpmBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpmBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $cpmBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->cpmBidSource = $cpmBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EnhancedCpcBiddingScheme", false)) { - /** - * Enhanced CPC is a bidding strategy that raises your bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less likely. - * - * This bidding scheme does not support criteria level bidding strategy overrides. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EnhancedCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EnhancedCpcBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ForwardCompatibilityError", false)) { - /** - * A ForwardComptibilityError represents possible errors when using the forwardCompatibilityMap - * in some of the common services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError"; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FrequencyCap", false)) { - /** - * A frequency cap is the maximum number of times an ad (or some set of ads) can - * be shown to a user over a particular time period. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FrequencyCap { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FrequencyCap"; - - /** - * @access public - * @var integer - */ - public $impressions; - - /** - * @access public - * @var tnsTimeUnit - */ - public $timeUnit; - - /** - * @access public - * @var tnsLevel - */ - public $level; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($impressions = null, $timeUnit = null, $level = null) { - $this->impressions = $impressions; - $this->timeUnit = $timeUnit; - $this->level = $level; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ManualCpcBiddingScheme", false)) { - /** - * Manual click based bidding where user pays per click. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpcBiddingScheme"; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCpmBiddingScheme", false)) { - /** - * Manual impression based bidding where user pays per thousand impressions. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpmBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpmBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NetworkSetting", false)) { - /** - * Network settings for a Campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NetworkSetting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NetworkSetting"; - - /** - * @access public - * @var boolean - */ - public $targetGoogleSearch; - - /** - * @access public - * @var boolean - */ - public $targetSearchNetwork; - - /** - * @access public - * @var boolean - */ - public $targetContentNetwork; - - /** - * @access public - * @var boolean - */ - public $targetPartnerSearchNetwork; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetGoogleSearch = null, $targetSearchNetwork = null, $targetContentNetwork = null, $targetPartnerSearchNetwork = null) { - $this->targetGoogleSearch = $targetGoogleSearch; - $this->targetSearchNetwork = $targetSearchNetwork; - $this->targetContentNetwork = $targetContentNetwork; - $this->targetPartnerSearchNetwork = $targetPartnerSearchNetwork; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("PageOnePromotedBiddingScheme", false)) { - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme"; - - /** - * @access public - * @var tnsPageOnePromotedBiddingSchemeStrategyGoal - */ - public $strategyGoal; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var boolean - */ - public $bidChangesForRaisesOnly; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenBudgetConstained; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenLowQualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($strategyGoal = null, $bidCeiling = null, $bidModifier = null, $bidChangesForRaisesOnly = null, $raiseBidWhenBudgetConstained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->strategyGoal = $strategyGoal; - $this->bidCeiling = $bidCeiling; - $this->bidModifier = $bidModifier; - $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; - $this->raiseBidWhenBudgetConstained = $raiseBidWhenBudgetConstained; - $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("PercentCpaBid", false)) { - /** - * Percentage CPA based bidding where user pays a percent of conversions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBid"; - - /** - * @access public - * @var integer - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $percentCpaBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $percentCpaBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->percentCpaBidSource = $percentCpaBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("PercentCpaBiddingScheme", false)) { - /** - * Percentage CPA based bidding scheme attributes where user pays a percent of conversions. - * This bidding strategy is available only to some advertisers. - *

A campaign can only be created with PercentCPA bidding strategy. Existing - * campaigns with a different bidding strategy cannot be transitioned to PercentCPA. - *

Similarly, once created as a PercentCPA, a campaign cannot be transitioned to - * any other bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaError", false)) { - /** - * Errors that are thrown if a quota limit is exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaError"; - - /** - * @access public - * @var tnsQuotaErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $limit = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->limit = $limit; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Setting", false)) { - /** - * Base type for AdWords campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Setting"; - - /** - * @access public - * @var string - */ - public $SettingType; - private $_parameterMap = array( - "Setting.Type" => "SettingType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SettingType = null) { - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("SettingError", false)) { - /** - * Indicates a problem with campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError"; - - /** - * @access public - * @var tnsSettingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ShoppingSetting", false)) { - /** - * Setting for shopping campaigns. Defines the universe of products covered by the campaign. - * Encapsulates a merchant ID, sales country, and campaign priority. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ShoppingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ShoppingSetting"; - - /** - * @access public - * @var integer - */ - public $merchantId; - - /** - * @access public - * @var string - */ - public $salesCountry; - - /** - * @access public - * @var integer - */ - public $campaignPriority; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($merchantId = null, $salesCountry = null, $campaignPriority = null, $SettingType = null) { - parent::__construct(); - $this->merchantId = $merchantId; - $this->salesCountry = $salesCountry; - $this->campaignPriority = $campaignPriority; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("TargetCpaBiddingScheme", false)) { - /** - * Target Cpa bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - * This is similar to the ConversionOptimizerBiddingScheme but does not - * support user-entered AdGroup-level target CPA bids, but rather a strategy-wide - * average CPA target. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetCpaBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetCpaBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $targetCpa; - - /** - * @access public - * @var Money - */ - public $maxCpcBidCeiling; - - /** - * @access public - * @var Money - */ - public $maxCpcBidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetCpa = null, $maxCpcBidCeiling = null, $maxCpcBidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetCpa = $targetCpa; - $this->maxCpcBidCeiling = $maxCpcBidCeiling; - $this->maxCpcBidFloor = $maxCpcBidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetError", false)) { - /** - * A list of all the error codes being used by the common targeting package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError"; - - /** - * @access public - * @var tnsTargetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TargetRoasBiddingScheme", false)) { - /** - * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). - * - * For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while - * ensuring that every $1.00 of clicks provides $1.50 in conversion value. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetRoasBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetRoasBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetRoasBiddingScheme"; - - /** - * @access public - * @var double - */ - public $targetRoas; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $bidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetRoas = null, $bidCeiling = null, $bidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetRoas = $targetRoas; - $this->bidCeiling = $bidCeiling; - $this->bidFloor = $bidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetSpendBiddingScheme", false)) { - /** - * Target Spend bidding scheme, in which Google automatically places - * bids for the user based on their daily/monthly budget or optional - * spend target. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetSpendBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetSpendBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $spendTarget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $spendTarget = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->spendTarget = $spendTarget; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TrackingSetting", false)) { - /** - * Campaign level settings for tracking information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrackingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TrackingSetting"; - - /** - * @access public - * @var string - */ - public $trackingUrl; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($trackingUrl = null, $SettingType = null) { - parent::__construct(); - $this->trackingUrl = $trackingUrl; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("AdServingOptimizationStatus", false)) { - /** - * Ad serving status of campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdServingOptimizationStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdServingOptimizationStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdvertisingChannelType", false)) { - /** - * The channel type a campaign may target to serve on. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdvertisingChannelType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdvertisingChannelType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidSource", false)) { - /** - * Indicate where a criterion's bid came from: criterion or the adgroup it - * belongs to. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorReason", false)) { - /** - * Reason for bidding error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorsReason", false)) { - /** - * Bidding strategy cannot override ad group or campaign bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorsReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategySource", false)) { - /** - * Indicates where bidding strategy came from: campaign, adgroup or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategySource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategySource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyType", false)) { - /** - * The bidding strategy type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingTransitionErrorReason", false)) { - /** - * Reason for bidding transition error. - * Used by the bidding transition capability service as the denial reason. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingTransitionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingTransitionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetDeliveryMethod", false)) { - /** - * Budget delivery methods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetDeliveryMethod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetDeliveryMethod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetPeriod", false)) { - /** - * Budget periods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetPeriod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetPeriod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetStatus", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetErrorReason", false)) { - /** - * The reasons for the budget error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignStatus", false)) { - /** - * Campaign status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemeBidType", false)) { - /** - * Average cost-per-acquisition (targetCPA) bid type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemeBidType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.BidType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemePricingMode", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemePricingMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.PricingMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerEligibilityRejectionReason", false)) { - /** - * Campaign is not active - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerEligibilityRejectionReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerEligibility.RejectionReason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ForwardCompatibilityErrorReason", false)) { - /** - * The reason for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GeoTargetTypeSettingNegativeGeoTargetType", false)) { - /** - * The various signals a negative location target may use. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSettingNegativeGeoTargetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting.NegativeGeoTargetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GeoTargetTypeSettingPositiveGeoTargetType", false)) { - /** - * The various signals a positive location target may use. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSettingPositiveGeoTargetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting.PositiveGeoTargetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("Level", false)) { - /** - * The level on which the cap is to be applied. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Level { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Level"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PageOnePromotedBiddingSchemeStrategyGoal", false)) { - /** - * First page on google.com. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingSchemeStrategyGoal { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the quota error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ServingStatus", false)) { - /** - * Campaign serving status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ServingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ServingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SettingErrorReason", false)) { - /** - * The reasons for the setting error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("TargetErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Unit of time the cap is defined at. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TimeUnit { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CampaignServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaigns that meet the selector criteria. - * - * @param serviceSelector the selector specifying the {@link Campaign}s to return. - * @return A list of campaigns. - * @throws ApiException if problems occurred while fetching campaign information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("CampaignServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignPage - */ - 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("CampaignServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Adds, updates, or removes campaigns. - *

Note: {@link CampaignOperation} does not support the - * REMOVE operator. To remove a campaign, set its - * {@link Campaign#status status} to {@code REMOVED}.

- * @param operations A list of unique operations. - * The same campaign cannot be specified in more than one operation. - * @return The list of updated campaigns, returned in the same order as the - * operations array. - * @throws ApiException if problems occurred while updating campaign information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CampaignServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaigns that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of campaigns. - * @throws ApiException if problems occur while parsing the query or fetching campaign - * information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignPage - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CampaignOperation", false)) { - /** - * An operation on an AdWords campaign. - *

Note: The REMOVE operator is not - * supported. To remove a campaign, set its {@link Campaign#status status} - * to {@code REMOVED}.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignOperation"; - - /** - * @access public - * @var Campaign - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignPage", false)) { - /** - * Contains a subset of campaign resulting from the filtering and paging of the - * {@link com.google.ads.api.services.campaignmgmt.campaign.CampaignService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignPage"; - - /** - * @access public - * @var Campaign[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("CampaignReturnValue", false)) { - /** - * A container for return values from the CampaignService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignReturnValue"; - - /** - * @access public - * @var Campaign[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("DynamicSearchAdsSetting", false)) { - /** - * Setting for controlling Dynamic Search Ads (DSA). Contains the domain name and the language - * used by the DSA system to automatically generate landing pages and keywords for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DynamicSearchAdsSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DynamicSearchAdsSetting"; - - /** - * @access public - * @var string - */ - public $domainName; - - /** - * @access public - * @var string - */ - public $languageCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($domainName = null, $languageCode = null, $SettingType = null) { - parent::__construct(); - $this->domainName = $domainName; - $this->languageCode = $languageCode; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("GeoTargetTypeSetting", false)) { - /** - * Represents a collection of settings related to ads geotargeting. - * - *

AdWords ads can be geotargeted using Location of Presence (LOP), - * Area of Interest (AOI), or both. LOP is the physical location - * of the user performing the search; AOI is the geographical region - * in which the searcher is interested. For example, if a user in - * New York City performs a search "hotels california", their LOP - * is New York City and their AOI is California. - * - *

Additionally, ads can be positively or negatively geotargeted. - * An ad that is positively geotargeted to New York City only appears - * to users whose location is related (via AOI or LOP) to New York City. An ad - * that is negatively geotargeted to New York City appears for all - * users except those whose location is related to New York City. Ads can - * only be negatively geotargeted if a positive geotargeting is also supplied, and - * the negatively geotargeted region must be contained within the positive - * region. - * - *

Geotargeting settings allow ads to be targeted in the following way: - *

    - *
  • Positively geotargeted using solely AOI, solely LOP, or either. - *
  • Negatively geotargeted using solely LOP, or both. - *
- * - *

This setting applies only to ads shown on the search network, and does - * not affect ads shown on the Google Display Network. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting"; - - /** - * @access public - * @var tnsGeoTargetTypeSettingPositiveGeoTargetType - */ - public $positiveGeoTargetType; - - /** - * @access public - * @var tnsGeoTargetTypeSettingNegativeGeoTargetType - */ - public $negativeGeoTargetType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($positiveGeoTargetType = null, $negativeGeoTargetType = null, $SettingType = null) { - parent::__construct(); - $this->positiveGeoTargetType = $positiveGeoTargetType; - $this->negativeGeoTargetType = $negativeGeoTargetType; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("KeywordMatchSetting", false)) { - /** - * Improved exact and phrase match option includes misspellings, plurals, - * and other close variants of your keywords. - * - * Default value set to {@code true} to include close variants. For more - * information, see the article - * - * What are keyword matching options?. - * - * This setting is required when creating new campaigns. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("RealTimeBiddingSetting", false)) { - /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RealTimeBiddingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RealTimeBiddingSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("CampaignService", false)) { - /** - * CampaignService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignService extends AdWordsSoapClient { - - const SERVICE_NAME = "CampaignService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CampaignService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CampaignService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BiddingError" => "BiddingError", - "BiddingErrors" => "BiddingErrors", - "BiddingScheme" => "BiddingScheme", - "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", - "BiddingTransitionError" => "BiddingTransitionError", - "Bids" => "Bids", - "Budget" => "Budget", - "BudgetError" => "BudgetError", - "BudgetOptimizerBiddingScheme" => "BudgetOptimizerBiddingScheme", - "Campaign" => "Campaign", - "CampaignError" => "CampaignError", - "CampaignOperation" => "CampaignOperation", - "CampaignPage" => "CampaignPage", - "CampaignReturnValue" => "CampaignReturnValue", - "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", - "ConversionOptimizerBiddingScheme" => "ConversionOptimizerBiddingScheme", - "ConversionOptimizerEligibility" => "ConversionOptimizerEligibility", - "CpaBid" => "CpaBid", - "CpcBid" => "CpcBid", - "CpmBid" => "CpmBid", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "DynamicSearchAdsSetting" => "DynamicSearchAdsSetting", - "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "ForwardCompatibilityError" => "ForwardCompatibilityError", - "FrequencyCap" => "FrequencyCap", - "GeoTargetTypeSetting" => "GeoTargetTypeSetting", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "KeywordMatchSetting" => "KeywordMatchSetting", - "ListReturnValue" => "ListReturnValue", - "LongValue" => "LongValue", - "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", - "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", - "Money" => "Money", - "NetworkSetting" => "NetworkSetting", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", - "Paging" => "Paging", - "PercentCpaBid" => "PercentCpaBid", - "PercentCpaBiddingScheme" => "PercentCpaBiddingScheme", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "QuotaError" => "QuotaError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RealTimeBiddingSetting" => "RealTimeBiddingSetting", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "Setting" => "Setting", - "SettingError" => "SettingError", - "ShoppingSetting" => "ShoppingSetting", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", - "TargetError" => "TargetError", - "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", - "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", - "TrackingSetting" => "TrackingSetting", - "AdServingOptimizationStatus" => "AdServingOptimizationStatus", - "AdvertisingChannelType" => "AdvertisingChannelType", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BidSource" => "BidSource", - "BiddingError.Reason" => "BiddingErrorReason", - "BiddingErrors.Reason" => "BiddingErrorsReason", - "BiddingStrategySource" => "BiddingStrategySource", - "BiddingStrategyType" => "BiddingStrategyType", - "BiddingTransitionError.Reason" => "BiddingTransitionErrorReason", - "Budget.BudgetDeliveryMethod" => "BudgetBudgetDeliveryMethod", - "Budget.BudgetPeriod" => "BudgetBudgetPeriod", - "Budget.BudgetStatus" => "BudgetBudgetStatus", - "BudgetError.Reason" => "BudgetErrorReason", - "CampaignError.Reason" => "CampaignErrorReason", - "CampaignStatus" => "CampaignStatus", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConversionOptimizerBiddingScheme.BidType" => "ConversionOptimizerBiddingSchemeBidType", - "ConversionOptimizerBiddingScheme.PricingMode" => "ConversionOptimizerBiddingSchemePricingMode", - "ConversionOptimizerEligibility.RejectionReason" => "ConversionOptimizerEligibilityRejectionReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", - "GeoTargetTypeSetting.NegativeGeoTargetType" => "GeoTargetTypeSettingNegativeGeoTargetType", - "GeoTargetTypeSetting.PositiveGeoTargetType" => "GeoTargetTypeSettingPositiveGeoTargetType", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "Level" => "Level", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "QuotaError.Reason" => "QuotaErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "ServingStatus" => "ServingStatus", - "SettingError.Reason" => "SettingErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "TargetError.Reason" => "TargetErrorReason", - "TimeUnit" => "TimeUnit", - "get" => "CampaignServiceGet", - "getResponse" => "CampaignServiceGetResponse", - "mutate" => "CampaignServiceMutate", - "mutateResponse" => "CampaignServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaigns that meet the selector criteria. - * - * @param serviceSelector the selector specifying the {@link Campaign}s to return. - * @return A list of campaigns. - * @throws ApiException if problems occurred while fetching campaign information. - */ - public function get($serviceSelector) { - $args = new CampaignServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Adds, updates, or removes campaigns. - *

Note: {@link CampaignOperation} does not support the - * REMOVE operator. To remove a campaign, set its - * {@link Campaign#status status} to {@code REMOVED}.

- * @param operations A list of unique operations. - * The same campaign cannot be specified in more than one operation. - * @return The list of updated campaigns, returned in the same order as the - * operations array. - * @throws ApiException if problems occurred while updating campaign information. - */ - public function mutate($operations) { - $args = new CampaignServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of campaigns that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of campaigns. - * @throws ApiException if problems occur while parsing the query or fetching campaign - * information. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CampaignSharedSetService.php b/src/Google/Api/Ads/AdWords/v201402/CampaignSharedSetService.php deleted file mode 100755 index 24dfd91f4..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CampaignSharedSetService.php +++ /dev/null @@ -1,3776 +0,0 @@ -This field can be selected using the value "SharedSetId".This field can be filtered on. - * This field is required and should not be {@code null} when it is contained within {@link Operator}s : ADD, REMOVE. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSet"; - - /** - * @access public - * @var integer - */ - public $sharedSetId; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var string - */ - public $sharedSetName; - - /** - * @access public - * @var tnsSharedSetType - */ - public $sharedSetType; - - /** - * @access public - * @var string - */ - public $campaignName; - - /** - * @access public - * @var tnsCampaignSharedSetStatus - */ - 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($sharedSetId = null, $campaignId = null, $sharedSetName = null, $sharedSetType = null, $campaignName = null, $status = null) { - $this->sharedSetId = $sharedSetId; - $this->campaignId = $campaignId; - $this->sharedSetName = $sharedSetName; - $this->sharedSetType = $sharedSetType; - $this->campaignName = $campaignName; - $this->status = $status; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Indicates that this instance is a subtype of ListReturnValue. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Indicates that this instance is a subtype of Page. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * This field must be greater than or equal to 0. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ApiError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Indicates that this instance is a subtype of ApplicationException. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * This field must contain distinct elements. - * This field must not contain {@code null} elements. - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignSharedSetStatus", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSet.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("CampaignSharedSetErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SharedSetType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CampaignSharedSetServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of CampaignSharedSets based on the given selector. - * @param selector the selector specifying the query - * @return a list of CampaignSharedSet entities that meet the criterion specified - * by the selector - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("CampaignSharedSetServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignSharedSetPage - */ - 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("CampaignSharedSetServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Applies the list of mutate operations. - * @param operations the operations to apply - * @return the modified list of CampaignSharedSet associations - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignSharedSetOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CampaignSharedSetServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CampaignSharedSetReturnValue - */ - 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("AuthenticationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignSharedSetError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSetError"; - - /** - * @access public - * @var tnsCampaignSharedSetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignSharedSetOperation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSetOperation"; - - /** - * @access public - * @var CampaignSharedSet - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignSharedSetReturnValue", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSetReturnValue"; - - /** - * @access public - * @var CampaignSharedSet[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CampaignSharedSetPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignSharedSetPage"; - - /** - * @access public - * @var CampaignSharedSet[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("CampaignSharedSetService", false)) { - /** - * CampaignSharedSetService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignSharedSetService extends AdWordsSoapClient { - - const SERVICE_NAME = "CampaignSharedSetService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CampaignSharedSetService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CampaignSharedSetService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "CampaignSharedSet" => "CampaignSharedSet", - "CampaignSharedSetError" => "CampaignSharedSetError", - "CampaignSharedSetOperation" => "CampaignSharedSetOperation", - "CampaignSharedSetPage" => "CampaignSharedSetPage", - "CampaignSharedSetReturnValue" => "CampaignSharedSetReturnValue", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NullStatsPage" => "NullStatsPage", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "PagingError" => "PagingError", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "CampaignSharedSet.Status" => "CampaignSharedSetStatus", - "CampaignSharedSetError.Reason" => "CampaignSharedSetErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SharedSetType" => "SharedSetType", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "CampaignSharedSetServiceGet", - "getResponse" => "CampaignSharedSetServiceGetResponse", - "mutate" => "CampaignSharedSetServiceMutate", - "mutateResponse" => "CampaignSharedSetServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of CampaignSharedSets based on the given selector. - * @param selector the selector specifying the query - * @return a list of CampaignSharedSet entities that meet the criterion specified - * by the selector - * @throws ApiException - */ - public function get($selector) { - $args = new CampaignSharedSetServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : ADD, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Applies the list of mutate operations. - * @param operations the operations to apply - * @return the modified list of CampaignSharedSet associations - * @throws ApiException - */ - public function mutate($operations) { - $args = new CampaignSharedSetServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ConstantDataService.php b/src/Google/Api/Ads/AdWords/v201402/ConstantDataService.php deleted file mode 100755 index 32af62773..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ConstantDataService.php +++ /dev/null @@ -1,5338 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductDimension", false)) { - /** - * Dimension by which to subdivide or filter products. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimension"; - - /** - * @access public - * @var string - */ - public $ProductDimensionType; - private $_parameterMap = array( - "ProductDimension.Type" => "ProductDimensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ProductDimensionType = null) { - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("ConstantData", false)) { - /** - * Marker interface for ConstantDataService objects. This is primarily required for field - * catalog generation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantData"; - - /** - * @access public - * @var string - */ - public $ConstantDataType; - private $_parameterMap = array( - "ConstantData.Type" => "ConstantDataType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ConstantDataType = null) { - $this->ConstantDataType = $ConstantDataType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AgeRangeAgeRangeType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRangeAgeRangeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange.AgeRangeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConstantDataServiceUserInterestTaxonomyType", false)) { - /** - * An enumeration of possible user interest taxonomy types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantDataServiceUserInterestTaxonomyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantDataService.UserInterestTaxonomyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GenderGenderType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GenderGenderType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender.GenderType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MobileDeviceDeviceType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDeviceDeviceType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice.DeviceType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperatingSystemVersionOperatorType", false)) { - /** - * The operator type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersionOperatorType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion.OperatorType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("ProductCanonicalConditionCondition", false)) { - /** - * A canonical product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalConditionCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition.Condition"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductDimensionType", false)) { - /** - * Type of product dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimensionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimensionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GetAgeRangeCriterion", false)) { - /** - * Returns a list of all age range criteria. - * - * @return A list of age ranges. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetAgeRangeCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetAgeRangeCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetAgeRangeCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AgeRange[] - */ - 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("GetCarrierCriterion", false)) { - /** - * Returns a list of all carrier criteria. - * - * @return A list of carriers. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetCarrierCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetCarrierCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetCarrierCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Carrier[] - */ - 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("GetGenderCriterion", false)) { - /** - * Returns a list of all gender criteria. - * - * @return A list of genders. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetGenderCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetGenderCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetGenderCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Gender[] - */ - 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("GetLanguageCriterion", false)) { - /** - * Returns a list of all language criteria. - * - * @return A list of languages. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetLanguageCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetLanguageCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetLanguageCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Language[] - */ - 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("GetMobileDeviceCriterion", false)) { - /** - * Returns a list of all mobile devices. - * - * @return A list of mobile devices. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetMobileDeviceCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetMobileDeviceCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetMobileDeviceCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MobileDevice[] - */ - 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("GetOperatingSystemVersionCriterion", false)) { - /** - * Returns a list of all operating system version criteria. - * - * @return A list of operating system versions. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetOperatingSystemVersionCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetOperatingSystemVersionCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetOperatingSystemVersionCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var OperatingSystemVersion[] - */ - 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("GetProductBiddingCategoryData", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of shopping bidding categories. - * - * A country predicate must be included in the selector. - * An empty parentDimensionType predicate will filter for root categories. - * - * @return A list of shopping bidding categories. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetProductBiddingCategoryData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("GetProductBiddingCategoryDataResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetProductBiddingCategoryDataResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ProductBiddingCategoryData[] - */ - 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("GetUserInterestCriterion", false)) { - /** - * Returns a list of user interests. - * - * @param userInterestTaxonomyType The type of taxonomy to use when requesting user interests. - * @return A list of user interests. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetUserInterestCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var tnsConstantDataServiceUserInterestTaxonomyType - */ - public $userInterestTaxonomyType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestTaxonomyType = null) { - $this->userInterestTaxonomyType = $userInterestTaxonomyType; - } - - } -} - -if (!class_exists("GetUserInterestCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetUserInterestCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CriterionUserInterest[] - */ - 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("GetVerticalCriterion", false)) { - /** - * Returns a list of content verticals. - * - * @return A list of verticals. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetVerticalCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetVerticalCriterionResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetVerticalCriterionResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Vertical[] - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AgeRange", false)) { - /** - * Represents an Age Range criterion. - *

A criterion of this type can only be created using an ID. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRange extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange"; - - /** - * @access public - * @var tnsAgeRangeAgeRangeType - */ - public $ageRangeType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ageRangeType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ageRangeType = $ageRangeType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Carrier", false)) { - /** - * Represents a Carrier Criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Carrier extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Carrier"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $countryCode = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->countryCode = $countryCode; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Gender", false)) { - /** - * Represents a Gender criterion. - *

A criterion of this type can only be created using an ID. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Gender extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender"; - - /** - * @access public - * @var tnsGenderGenderType - */ - public $genderType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($genderType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->genderType = $genderType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileDevice", false)) { - /** - * Represents a Mobile Device Criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDevice extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice"; - - /** - * @access public - * @var string - */ - public $deviceName; - - /** - * @access public - * @var string - */ - public $manufacturerName; - - /** - * @access public - * @var tnsMobileDeviceDeviceType - */ - public $deviceType; - - /** - * @access public - * @var string - */ - public $operatingSystemName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($deviceName = null, $manufacturerName = null, $deviceType = null, $operatingSystemName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->deviceName = $deviceName; - $this->manufacturerName = $manufacturerName; - $this->deviceType = $deviceType; - $this->operatingSystemName = $operatingSystemName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatingSystemVersion", false)) { - /** - * Represents an Operating System Version Criterion. - * View the complete - * list of available mobile platforms. You can also get the list from - * {@link ConstantDataService#getOperatingSystemVersionCriterion ConstantDataService}. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersion extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $osMajorVersion; - - /** - * @access public - * @var integer - */ - public $osMinorVersion; - - /** - * @access public - * @var tnsOperatingSystemVersionOperatorType - */ - public $operatorType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $osMajorVersion = null, $osMinorVersion = null, $operatorType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->osMajorVersion = $osMajorVersion; - $this->osMinorVersion = $osMinorVersion; - $this->operatorType = $operatorType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductAdwordsGrouping", false)) { - /** - * An {@code adwords grouping} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsGrouping extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsGrouping"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductAdwordsLabels", false)) { - /** - * An {@code adwords labels} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsLabels extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsLabels"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBiddingCategory", false)) { - /** - * One element of a bidding category at a certain level. Top-level categories are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the category. All cases of the the same subdivision - * must have the same dimension type (category level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBiddingCategory extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBiddingCategory"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBrand", false)) { - /** - * A brand string. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBrand extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBrand"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCanonicalCondition", false)) { - /** - * A canonical condition. Only supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition"; - - /** - * @access public - * @var tnsProductCanonicalConditionCondition - */ - public $condition; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($condition = null, $ProductDimensionType = null) { - parent::__construct(); - $this->condition = $condition; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductLegacyCondition", false)) { - /** - * A plain condition string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductLegacyCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductLegacyCondition"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCustomAttribute", false)) { - /** - * A custom attribute value. As a product can have multiple custom attributes, the user must specify - * a dimension type that indicates the index of the attribute by which to subdivide. All cases of - * the same subdivision must have the same dimension type (attribute index). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCustomAttribute extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCustomAttribute"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductOfferId", false)) { - /** - * An offer ID as specified by the merchant. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductOfferId extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductOfferId"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductType", false)) { - /** - * One element of a product type string at a certain level. Top-level product types are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the product type. All cases of the the same - * subdivision must have the same dimension type (product type level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductType extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductType"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductTypeFull", false)) { - /** - * A full product type string. Category of the product according to the merchant's own - * classification. Example: - * - *

{@code "Home & Garden > Kitchen & Dining > Kitchen Appliances > Refrigerators"}
- * - *

Not supported by campaigns of {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductTypeFull extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductTypeFull"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductBiddingCategoryData", false)) { - /** - * The taxonomy of ProductBiddingCategory dimension values. - * - *

Clients use this to convert between human-readable category names / display strings and - * ProductBiddingCategory instances. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBiddingCategoryData extends ConstantData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBiddingCategoryData"; - - /** - * @access public - * @var ProductBiddingCategory - */ - public $dimensionValue; - - /** - * @access public - * @var ProductBiddingCategory - */ - public $parentDimensionValue; - - /** - * @access public - * @var string - */ - public $country; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $displayValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($dimensionValue = null, $parentDimensionValue = null, $country = null, $displayValue = null, $ConstantDataType = null) { - parent::__construct(); - $this->dimensionValue = $dimensionValue; - $this->parentDimensionValue = $parentDimensionValue; - $this->country = $country; - $this->displayValue = $displayValue; - $this->ConstantDataType = $ConstantDataType; - } - - } -} - -if (!class_exists("ConstantDataService", false)) { - /** - * ConstantDataService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantDataService extends AdWordsSoapClient { - - const SERVICE_NAME = "ConstantDataService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/ConstantDataService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/ConstantDataService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "AgeRange" => "AgeRange", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "Carrier" => "Carrier", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "Gender" => "Gender", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "Language" => "Language", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "MobileDevice" => "MobileDevice", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperatingSystemVersion" => "OperatingSystemVersion", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Placement" => "Placement", - "Predicate" => "Predicate", - "ProductAdwordsGrouping" => "ProductAdwordsGrouping", - "ProductAdwordsLabels" => "ProductAdwordsLabels", - "ProductBiddingCategory" => "ProductBiddingCategory", - "ProductBrand" => "ProductBrand", - "ProductCanonicalCondition" => "ProductCanonicalCondition", - "ProductLegacyCondition" => "ProductLegacyCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "ProductCustomAttribute" => "ProductCustomAttribute", - "ProductOfferId" => "ProductOfferId", - "ProductType" => "ProductType", - "ProductTypeFull" => "ProductTypeFull", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "DatabaseError" => "DatabaseError", - "ProductCondition" => "ProductCondition", - "ProductDimension" => "ProductDimension", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Product" => "Product", - "ProductBiddingCategoryData" => "ProductBiddingCategoryData", - "Selector" => "Selector", - "ConstantData" => "ConstantData", - "Criterion" => "Criterion", - "AdxError.Reason" => "AdxErrorReason", - "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConstantDataService.UserInterestTaxonomyType" => "ConstantDataServiceUserInterestTaxonomyType", - "Criterion.Type" => "CriterionType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "Gender.GenderType" => "GenderGenderType", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "MobileDevice.DeviceType" => "MobileDeviceDeviceType", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperatingSystemVersion.OperatorType" => "OperatingSystemVersionOperatorType", - "Predicate.Operator" => "PredicateOperator", - "ProductCanonicalCondition.Condition" => "ProductCanonicalConditionCondition", - "ProductDimensionType" => "ProductDimensionType", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "getAgeRangeCriterion" => "GetAgeRangeCriterion", - "getAgeRangeCriterionResponse" => "GetAgeRangeCriterionResponse", - "getCarrierCriterion" => "GetCarrierCriterion", - "getCarrierCriterionResponse" => "GetCarrierCriterionResponse", - "getGenderCriterion" => "GetGenderCriterion", - "getGenderCriterionResponse" => "GetGenderCriterionResponse", - "getLanguageCriterion" => "GetLanguageCriterion", - "getLanguageCriterionResponse" => "GetLanguageCriterionResponse", - "getMobileDeviceCriterion" => "GetMobileDeviceCriterion", - "getMobileDeviceCriterionResponse" => "GetMobileDeviceCriterionResponse", - "getOperatingSystemVersionCriterion" => "GetOperatingSystemVersionCriterion", - "getOperatingSystemVersionCriterionResponse" => "GetOperatingSystemVersionCriterionResponse", - "getProductBiddingCategoryData" => "GetProductBiddingCategoryData", - "getProductBiddingCategoryDataResponse" => "GetProductBiddingCategoryDataResponse", - "getUserInterestCriterion" => "GetUserInterestCriterion", - "getUserInterestCriterionResponse" => "GetUserInterestCriterionResponse", - "getVerticalCriterion" => "GetVerticalCriterion", - "getVerticalCriterionResponse" => "GetVerticalCriterionResponse", - ); - - - /** - * 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 a list of all age range criteria. - * - * @return A list of age ranges. - * @throws ApiException when there is at least one error with the request. - */ - public function getAgeRangeCriterion() { - $args = new GetAgeRangeCriterion(); - $result = $this->__soapCall("getAgeRangeCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of all carrier criteria. - * - * @return A list of carriers. - * @throws ApiException when there is at least one error with the request. - */ - public function getCarrierCriterion() { - $args = new GetCarrierCriterion(); - $result = $this->__soapCall("getCarrierCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of all gender criteria. - * - * @return A list of genders. - * @throws ApiException when there is at least one error with the request. - */ - public function getGenderCriterion() { - $args = new GetGenderCriterion(); - $result = $this->__soapCall("getGenderCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of all language criteria. - * - * @return A list of languages. - * @throws ApiException when there is at least one error with the request. - */ - public function getLanguageCriterion() { - $args = new GetLanguageCriterion(); - $result = $this->__soapCall("getLanguageCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of all mobile devices. - * - * @return A list of mobile devices. - * @throws ApiException when there is at least one error with the request. - */ - public function getMobileDeviceCriterion() { - $args = new GetMobileDeviceCriterion(); - $result = $this->__soapCall("getMobileDeviceCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of all operating system version criteria. - * - * @return A list of operating system versions. - * @throws ApiException when there is at least one error with the request. - */ - public function getOperatingSystemVersionCriterion() { - $args = new GetOperatingSystemVersionCriterion(); - $result = $this->__soapCall("getOperatingSystemVersionCriterion", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of shopping bidding categories. - * - * A country predicate must be included in the selector. - * An empty parentDimensionType predicate will filter for root categories. - * - * @return A list of shopping bidding categories. - * @throws ApiException when there is at least one error with the request. - */ - public function getProductBiddingCategoryData($selector) { - $args = new GetProductBiddingCategoryData($selector); - $result = $this->__soapCall("getProductBiddingCategoryData", array($args)); - return $result->rval; - } - /** - * Returns a list of user interests. - * - * @param userInterestTaxonomyType The type of taxonomy to use when requesting user interests. - * @return A list of user interests. - * @throws ApiException when there is at least one error with the request. - */ - public function getUserInterestCriterion($userInterestTaxonomyType) { - $args = new GetUserInterestCriterion($userInterestTaxonomyType); - $result = $this->__soapCall("getUserInterestCriterion", array($args)); - return $result->rval; - } - /** - * Returns a list of content verticals. - * - * @return A list of verticals. - * @throws ApiException when there is at least one error with the request. - */ - public function getVerticalCriterion() { - $args = new GetVerticalCriterion(); - $result = $this->__soapCall("getVerticalCriterion", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ConversionTrackerService.php b/src/Google/Api/Ads/AdWords/v201402/ConversionTrackerService.php deleted file mode 100755 index dfa57656d..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ConversionTrackerService.php +++ /dev/null @@ -1,4244 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("ConversionTrackerStats", false)) { - /** - * Usage stats about a single {@link ConversionTracker}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerStats { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackerStats"; - - /** - * @access public - * @var integer - */ - public $numConversionEvents; - - /** - * @access public - * @var Money - */ - public $conversionValue; - - /** - * @access public - * @var string - */ - public $mostRecentConversionDate; - - /** - * @access public - * @var integer - */ - public $numConvertedClicks; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($numConversionEvents = null, $conversionValue = null, $mostRecentConversionDate = null, $numConvertedClicks = null) { - $this->numConversionEvents = $numConversionEvents; - $this->conversionValue = $conversionValue; - $this->mostRecentConversionDate = $mostRecentConversionDate; - $this->numConvertedClicks = $numConvertedClicks; - } - - } -} - -if (!class_exists("ConversionTracker", false)) { - /** - * An abstract Conversion base class. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTracker { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTracker"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsConversionTrackerStatus - */ - public $status; - - /** - * @access public - * @var tnsConversionTrackerCategory - */ - public $category; - - /** - * @access public - * @var ConversionTrackerStats - */ - public $stats; - - /** - * @access public - * @var integer - */ - public $viewthroughLookbackWindow; - - /** - * @access public - * @var boolean - */ - public $isProductAdsChargeable; - - /** - * @access public - * @var integer - */ - public $productAdsChargeableConversionWindow; - - /** - * @access public - * @var integer - */ - public $ctcLookbackWindow; - - /** - * @access public - * @var tnsConversionDeduplicationMode - */ - public $countingType; - - /** - * @access public - * @var double - */ - public $defaultRevenueValue; - - /** - * @access public - * @var boolean - */ - public $alwaysUseDefaultRevenueValue; - - /** - * @access public - * @var string - */ - public $ConversionTrackerType; - private $_parameterMap = array( - "ConversionTracker.Type" => "ConversionTrackerType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $category = null, $stats = null, $viewthroughLookbackWindow = null, $isProductAdsChargeable = null, $productAdsChargeableConversionWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $alwaysUseDefaultRevenueValue = null, $ConversionTrackerType = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->category = $category; - $this->stats = $stats; - $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; - $this->isProductAdsChargeable = $isProductAdsChargeable; - $this->productAdsChargeableConversionWindow = $productAdsChargeableConversionWindow; - $this->ctcLookbackWindow = $ctcLookbackWindow; - $this->countingType = $countingType; - $this->defaultRevenueValue = $defaultRevenueValue; - $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; - $this->ConversionTrackerType = $ConversionTrackerType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AdWordsConversionTrackerMarkupLanguage", false)) { - /** - * Controls the markup language in which the snippet will be written. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdWordsConversionTrackerMarkupLanguage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdWordsConversionTracker.MarkupLanguage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdWordsConversionTrackerTextFormat", false)) { - /** - * Text format to display on the conversion page. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdWordsConversionTrackerTextFormat { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdWordsConversionTracker.TextFormat"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdWordsConversionTrackerTrackingCodeType", false)) { - /** - * Type of snippet code to generate. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdWordsConversionTrackerTrackingCodeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdWordsConversionTracker.TrackingCodeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AppConversionAppConversionType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AppConversionAppConversionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AppConversion.AppConversionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AppConversionAppPlatform", false)) { - /** - * App platform for the AppConversionTracker. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AppConversionAppPlatform { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AppConversion.AppPlatform"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionDeduplicationMode", false)) { - /** - * Conversion deduplication mode for Conversion Optimizer. That is, whether to - * optimize for number of clicks that get at least one conversion, or total number - * of conversions per click. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionDeduplicationMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionDeduplicationMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionTrackerCategory", false)) { - /** - * The category of conversion tracker that is being tracked. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerCategory { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTracker.Category"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionTrackerStatus", false)) { - /** - * Status of the conversion tracker. The user cannot ADD or SET the - * status to {@code HIDDEN}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTracker.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("ConversionTrackingErrorReason", false)) { - /** - * Enumerates all the possible reasons for a ConversionTypeError. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ConversionTrackerServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of the conversion trackers that match the selector. The - * actual objects contained in the page's list of entries will be specific - * subclasses of the abstract {@link ConversionTracker} class. - * - * @param serviceSelector The selector specifying the - * {@link ConversionTracker}s to return. - * @return List of conversion trackers specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("ConversionTrackerServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ConversionTrackerPage - */ - 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("ConversionTrackerServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Applies the list of mutate operations such as adding or updating conversion trackers. - *

Note: {@link ConversionTrackerOperation} does not support the - * REMOVE operator. In order to 'disable' a conversion type, send a - * SET operation for the conversion tracker with the status - * property set to DISABLED

- * - * @param operations A list of mutate operations to perform. - * @return The list of the conversion trackers as they appear after mutation, - * in the same order as they appeared in the list of operations. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while updating the data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ConversionTrackerOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("ConversionTrackerServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ConversionTrackerReturnValue - */ - 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("AdCallMetricsConversion", false)) { - /** - * A ConversionTracker for phone calls from conversion-tracked call extensions. - * A call made from the call extension is reported as a conversion if it lasts longer - * than N seconds. This duration is 60 seconds by default. Each call extension can - * specify the desired conversion configuration. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdCallMetricsConversion extends ConversionTracker { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdCallMetricsConversion"; - - /** - * @access public - * @var integer - */ - public $phoneCallDuration; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($phoneCallDuration = null, $id = null, $name = null, $status = null, $category = null, $stats = null, $viewthroughLookbackWindow = null, $isProductAdsChargeable = null, $productAdsChargeableConversionWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $alwaysUseDefaultRevenueValue = null, $ConversionTrackerType = null) { - parent::__construct(); - $this->phoneCallDuration = $phoneCallDuration; - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->category = $category; - $this->stats = $stats; - $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; - $this->isProductAdsChargeable = $isProductAdsChargeable; - $this->productAdsChargeableConversionWindow = $productAdsChargeableConversionWindow; - $this->ctcLookbackWindow = $ctcLookbackWindow; - $this->countingType = $countingType; - $this->defaultRevenueValue = $defaultRevenueValue; - $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; - $this->ConversionTrackerType = $ConversionTrackerType; - } - - } -} - -if (!class_exists("AdWordsConversionTracker", false)) { - /** - * A conversion tracker created through AdWords Conversion Tracking. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdWordsConversionTracker extends ConversionTracker { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdWordsConversionTracker"; - - /** - * @access public - * @var string - */ - public $snippet; - - /** - * @access public - * @var tnsAdWordsConversionTrackerMarkupLanguage - */ - public $markupLanguage; - - /** - * @access public - * @var tnsAdWordsConversionTrackerTextFormat - */ - public $textFormat; - - /** - * @access public - * @var string - */ - public $conversionPageLanguage; - - /** - * @access public - * @var string - */ - public $backgroundColor; - - /** - * @access public - * @var tnsAdWordsConversionTrackerTrackingCodeType - */ - public $trackingCodeType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $markupLanguage = null, $textFormat = null, $conversionPageLanguage = null, $backgroundColor = null, $trackingCodeType = null, $id = null, $name = null, $status = null, $category = null, $stats = null, $viewthroughLookbackWindow = null, $isProductAdsChargeable = null, $productAdsChargeableConversionWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $alwaysUseDefaultRevenueValue = null, $ConversionTrackerType = null) { - parent::__construct(); - $this->snippet = $snippet; - $this->markupLanguage = $markupLanguage; - $this->textFormat = $textFormat; - $this->conversionPageLanguage = $conversionPageLanguage; - $this->backgroundColor = $backgroundColor; - $this->trackingCodeType = $trackingCodeType; - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->category = $category; - $this->stats = $stats; - $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; - $this->isProductAdsChargeable = $isProductAdsChargeable; - $this->productAdsChargeableConversionWindow = $productAdsChargeableConversionWindow; - $this->ctcLookbackWindow = $ctcLookbackWindow; - $this->countingType = $countingType; - $this->defaultRevenueValue = $defaultRevenueValue; - $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; - $this->ConversionTrackerType = $ConversionTrackerType; - } - - } -} - -if (!class_exists("AppConversion", false)) { - /** - * A ConversionTracker for mobile apps. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AppConversion extends ConversionTracker { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AppConversion"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @access public - * @var tnsAppConversionAppPlatform - */ - public $appPlatform; - - /** - * @access public - * @var string - */ - public $snippet; - - /** - * @access public - * @var tnsAppConversionAppConversionType - */ - public $appConversionType; - - /** - * @access public - * @var string - */ - public $appPostbackUrl; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($appId = null, $appPlatform = null, $snippet = null, $appConversionType = null, $appPostbackUrl = null, $id = null, $name = null, $status = null, $category = null, $stats = null, $viewthroughLookbackWindow = null, $isProductAdsChargeable = null, $productAdsChargeableConversionWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $alwaysUseDefaultRevenueValue = null, $ConversionTrackerType = null) { - parent::__construct(); - $this->appId = $appId; - $this->appPlatform = $appPlatform; - $this->snippet = $snippet; - $this->appConversionType = $appConversionType; - $this->appPostbackUrl = $appPostbackUrl; - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->category = $category; - $this->stats = $stats; - $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; - $this->isProductAdsChargeable = $isProductAdsChargeable; - $this->productAdsChargeableConversionWindow = $productAdsChargeableConversionWindow; - $this->ctcLookbackWindow = $ctcLookbackWindow; - $this->countingType = $countingType; - $this->defaultRevenueValue = $defaultRevenueValue; - $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; - $this->ConversionTrackerType = $ConversionTrackerType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ConversionTrackingError", false)) { - /** - * An error that can occur during calls to the ConversionTypeService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackingError"; - - /** - * @access public - * @var tnsConversionTrackingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("UploadConversion", false)) { - /** - * A conversion type that receives conversions by having them uploaded - * through the OfflineConversionFeedService. - * - * After successfully creating a new UploadConversion, send the name of this conversion type - * along with your conversion details to the OfflineConversionFeedService - * to attribute those conversions to this conversion type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UploadConversion extends ConversionTracker { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "UploadConversion"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $category = null, $stats = null, $viewthroughLookbackWindow = null, $isProductAdsChargeable = null, $productAdsChargeableConversionWindow = null, $ctcLookbackWindow = null, $countingType = null, $defaultRevenueValue = null, $alwaysUseDefaultRevenueValue = null, $ConversionTrackerType = null) { - parent::__construct(); - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->category = $category; - $this->stats = $stats; - $this->viewthroughLookbackWindow = $viewthroughLookbackWindow; - $this->isProductAdsChargeable = $isProductAdsChargeable; - $this->productAdsChargeableConversionWindow = $productAdsChargeableConversionWindow; - $this->ctcLookbackWindow = $ctcLookbackWindow; - $this->countingType = $countingType; - $this->defaultRevenueValue = $defaultRevenueValue; - $this->alwaysUseDefaultRevenueValue = $alwaysUseDefaultRevenueValue; - $this->ConversionTrackerType = $ConversionTrackerType; - } - - } -} - -if (!class_exists("ConversionTrackerOperation", false)) { - /** - * Operations for conversion tracker. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackerOperation"; - - /** - * @access public - * @var ConversionTracker - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("ConversionTrackerReturnValue", false)) { - /** - * A container for return values from the ConversionTrackerService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackerReturnValue"; - - /** - * @access public - * @var ConversionTracker[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("ConversionTrackerPage", false)) { - /** - * Contains a subset of {@link ConversionTracker}s resulting from the filtering - * and paging of the {@link ConversionTrackerService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerPage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionTrackerPage"; - - /** - * @access public - * @var ConversionTracker[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("ConversionTrackerService", false)) { - /** - * ConversionTrackerService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionTrackerService extends AdWordsSoapClient { - - const SERVICE_NAME = "ConversionTrackerService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/ConversionTrackerService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/ConversionTrackerService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdCallMetricsConversion" => "AdCallMetricsConversion", - "AdWordsConversionTracker" => "AdWordsConversionTracker", - "AppConversion" => "AppConversion", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "ConversionTrackingError" => "ConversionTrackingError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "LongValue" => "LongValue", - "Money" => "Money", - "NotEmptyError" => "NotEmptyError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "UploadConversion" => "UploadConversion", - "ComparableValue" => "ComparableValue", - "ConversionTrackerStats" => "ConversionTrackerStats", - "ConversionTracker" => "ConversionTracker", - "ConversionTrackerOperation" => "ConversionTrackerOperation", - "ConversionTrackerReturnValue" => "ConversionTrackerReturnValue", - "DatabaseError" => "DatabaseError", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "ConversionTrackerPage" => "ConversionTrackerPage", - "NoStatsPage" => "NoStatsPage", - "Page" => "Page", - "Selector" => "Selector", - "AdWordsConversionTracker.MarkupLanguage" => "AdWordsConversionTrackerMarkupLanguage", - "AdWordsConversionTracker.TextFormat" => "AdWordsConversionTrackerTextFormat", - "AdWordsConversionTracker.TrackingCodeType" => "AdWordsConversionTrackerTrackingCodeType", - "AppConversion.AppConversionType" => "AppConversionAppConversionType", - "AppConversion.AppPlatform" => "AppConversionAppPlatform", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ConversionDeduplicationMode" => "ConversionDeduplicationMode", - "ConversionTracker.Category" => "ConversionTrackerCategory", - "ConversionTracker.Status" => "ConversionTrackerStatus", - "ConversionTrackingError.Reason" => "ConversionTrackingErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "ConversionTrackerServiceGet", - "getResponse" => "ConversionTrackerServiceGetResponse", - "mutate" => "ConversionTrackerServiceMutate", - "mutateResponse" => "ConversionTrackerServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of the conversion trackers that match the selector. The - * actual objects contained in the page's list of entries will be specific - * subclasses of the abstract {@link ConversionTracker} class. - * - * @param serviceSelector The selector specifying the - * {@link ConversionTracker}s to return. - * @return List of conversion trackers specified by the selector. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while retrieving results. - */ - public function get($serviceSelector) { - $args = new ConversionTrackerServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Applies the list of mutate operations such as adding or updating conversion trackers. - *

Note: {@link ConversionTrackerOperation} does not support the - * REMOVE operator. In order to 'disable' a conversion type, send a - * SET operation for the conversion tracker with the status - * property set to DISABLED

- * - * @param operations A list of mutate operations to perform. - * @return The list of the conversion trackers as they appear after mutation, - * in the same order as they appeared in the list of operations. - * @throws com.google.ads.api.services.common.error.ApiException if problems - * occurred while updating the data. - */ - public function mutate($operations) { - $args = new ConversionTrackerServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CustomerFeedService.php b/src/Google/Api/Ads/AdWords/v201402/CustomerFeedService.php deleted file mode 100755 index 1fe9fd31c..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CustomerFeedService.php +++ /dev/null @@ -1,4049 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CustomerFeed", false)) { - /** - * CustomerFeeds are used to link a feed to the customer using a matching function, - * making the feed's feed items available in the customer's ads for substitution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeed { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeed"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var Function - */ - public $matchingFunction; - - /** - * @access public - * @var integer[] - */ - public $placeholderTypes; - - /** - * @access public - * @var tnsCustomerFeedStatus - */ - 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($feedId = null, $matchingFunction = null, $placeholderTypes = null, $status = null) { - $this->feedId = $feedId; - $this->matchingFunction = $matchingFunction; - $this->placeholderTypes = $placeholderTypes; - $this->status = $status; - } - - } -} - -if (!class_exists("CustomerFeedError", false)) { - /** - * Represents an error for the CustomerFeedService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeedError"; - - /** - * @access public - * @var tnsCustomerFeedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedFunction", false)) { - /** - * Represents a function where its operator is applied to its argument operands - * resulting in a return value. It has the form - * (Operand... Operator Operand...). The type of the return value depends on - * the operator being applied and the type of the operands. - * - *

Operands per function is limited to 20.

- * - *

Here is a code example:

- * - *

-   * 
-   * // For example "feed_attribute == 30" can be represented as:
-   * FeedId feedId = (FeedId of Feed associated with feed_attribute)
-   * FeedAttributeId feedAttributeId = (FeedAttributeId of feed_attribute)
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new FeedAttributeOperand(feedId, feedAttributeId)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(
-   * Arrays.asList((Operand) new ConstantOperand(30L)));
-   * 
-   * // Another example matching on multiple values:
-   * "feed_item_id IN (10, 20, 30)" can be represented as:
-   * 
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new ConstantOperand(30L)));
-   * 
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedFunction { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function"; - - /** - * @access public - * @var tnsFunctionOperator - */ - public $operator; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $lhsOperand; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $rhsOperand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $lhsOperand = null, $rhsOperand = null) { - $this->operator = $operator; - $this->lhsOperand = $lhsOperand; - $this->rhsOperand = $rhsOperand; - } - - } -} - -if (!class_exists("FunctionError", false)) { - /** - * Errors that indicate issues with the function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError"; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FunctionArgumentOperand", false)) { - /** - * An operand that can be used in a function expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionArgumentOperand"; - - /** - * @access public - * @var string - */ - public $FunctionArgumentOperandType; - private $_parameterMap = array( - "FunctionArgumentOperand.Type" => "FunctionArgumentOperandType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FunctionArgumentOperandType = null) { - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestContextOperand", false)) { - /** - * An operand in a function referring to a value in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand"; - - /** - * @access public - * @var tnsRequestContextOperandContextType - */ - public $contextType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($contextType = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->contextType = $contextType; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ConstantOperandConstantType", false)) { - /** - * The types of constant operands. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperandConstantType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand.ConstantType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CustomerFeedStatus", false)) { - /** - * Status of the CustomerFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeed.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("CustomerFeedErrorReason", false)) { - /** - * Error reasons. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionOperator", false)) { - /** - * Operators that can be used in functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function.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() { - } - - } -} - -if (!class_exists("FunctionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestContextOperandContextType", false)) { - /** - * Campaign Id in the request context. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestContextOperandContextType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestContextOperand.ContextType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CustomerFeedServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of customer feeds that meet the selector criteria. - * - * @param selector Determines which customer feeds to return. If empty, all - * customer feeds are returned. - * @return The list of customer feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("CustomerFeedServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerFeedPage - */ - 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("CustomerFeedServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Adds, sets, or removes customer feeds. - * - * @param operations The operations to apply. - * @return The resulting feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerFeedOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("CustomerFeedServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerFeedReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of customer feeds that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of CustomerFeed. - * @throws ApiException If problems occur while parsing the query or fetching CustomerFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerFeedPage - */ - 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ConstantOperand", false)) { - /** - * A constant operand in a matching function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConstantOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConstantOperand"; - - /** - * @access public - * @var tnsConstantOperandConstantType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $longValue; - - /** - * @access public - * @var boolean - */ - public $booleanValue; - - /** - * @access public - * @var double - */ - public $doubleValue; - - /** - * @access public - * @var string - */ - public $stringValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($type = null, $longValue = null, $booleanValue = null, $doubleValue = null, $stringValue = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->type = $type; - $this->longValue = $longValue; - $this->booleanValue = $booleanValue; - $this->doubleValue = $doubleValue; - $this->stringValue = $stringValue; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("CustomerFeedOperation", false)) { - /** - * Operation used to create or mutate a CustomerFeed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeedOperation"; - - /** - * @access public - * @var CustomerFeed - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CustomerFeedReturnValue", false)) { - /** - * The result of a call to {@link CustomerFeedService#mutate}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeedReturnValue"; - - /** - * @access public - * @var CustomerFeed[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("FeedAttributeOperand", false)) { - /** - * Represents a feed attribute reference to use in a function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedAttributeOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedAttributeOperand"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedAttributeId = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->feedId = $feedId; - $this->feedAttributeId = $feedAttributeId; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("FunctionOperand", false)) { - /** - * A function operand in a matching function. - * Used to represent nested functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionOperand"; - - /** - * @access public - * @var Function - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->value = $value; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("CustomerFeedPage", false)) { - /** - * The result of a call to {@link CustomerFeedService#get}. Contains a list of - * associations between customer and feeds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CustomerFeedPage"; - - /** - * @access public - * @var CustomerFeed[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("CustomerFeedService", false)) { - /** - * CustomerFeedService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerFeedService extends AdWordsSoapClient { - - const SERVICE_NAME = "CustomerFeedService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/CustomerFeedService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/CustomerFeedService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "ConstantOperand" => "ConstantOperand", - "CustomerFeed" => "CustomerFeed", - "CustomerFeedError" => "CustomerFeedError", - "CustomerFeedOperation" => "CustomerFeedOperation", - "CustomerFeedPage" => "CustomerFeedPage", - "CustomerFeedReturnValue" => "CustomerFeedReturnValue", - "DatabaseError" => "DatabaseError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "FeedAttributeOperand" => "FeedAttributeOperand", - "Function" => "FeedFunction", - "FunctionError" => "FunctionError", - "FunctionOperand" => "FunctionOperand", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "NotEmptyError" => "NotEmptyError", - "NullStatsPage" => "NullStatsPage", - "FunctionArgumentOperand" => "FunctionArgumentOperand", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestContextOperand" => "RequestContextOperand", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "ConstantOperand.ConstantType" => "ConstantOperandConstantType", - "CustomerFeed.Status" => "CustomerFeedStatus", - "CustomerFeedError.Reason" => "CustomerFeedErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "Function.Operator" => "FunctionOperator", - "FunctionError.Reason" => "FunctionErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestContextOperand.ContextType" => "RequestContextOperandContextType", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "CustomerFeedServiceGet", - "getResponse" => "CustomerFeedServiceGetResponse", - "mutate" => "CustomerFeedServiceMutate", - "mutateResponse" => "CustomerFeedServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of customer feeds that meet the selector criteria. - * - * @param selector Determines which customer feeds to return. If empty, all - * customer feeds are returned. - * @return The list of customer feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function get($selector) { - $args = new CustomerFeedServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Adds, sets, or removes customer feeds. - * - * @param operations The operations to apply. - * @return The resulting feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function mutate($operations) { - $args = new CustomerFeedServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of customer feeds that match the query. - * - * @param query The SQL-like AWQL query string. - * @return A list of CustomerFeed. - * @throws ApiException If problems occur while parsing the query or fetching CustomerFeed. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CustomerService.php b/src/Google/Api/Ads/AdWords/v201402/CustomerService.php deleted file mode 100755 index cf1f9f4dc..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CustomerService.php +++ /dev/null @@ -1,2517 +0,0 @@ -clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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.

- * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("Customer", false)) { - /** - * Represents a customer for the CustomerService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Customer { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "Customer"; - - /** - * @access public - * @var integer - */ - public $customerId; - - /** - * @access public - * @var string - */ - public $currencyCode; - - /** - * @access public - * @var string - */ - public $dateTimeZone; - - /** - * @access public - * @var string - */ - public $descriptiveName; - - /** - * @access public - * @var string - */ - public $companyName; - - /** - * @access public - * @var boolean - */ - public $canManageClients; - - /** - * @access public - * @var boolean - */ - public $testAccount; - - /** - * @access public - * @var boolean - */ - public $autoTaggingEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($customerId = null, $currencyCode = null, $dateTimeZone = null, $descriptiveName = null, $companyName = null, $canManageClients = null, $testAccount = null, $autoTaggingEnabled = null) { - $this->customerId = $customerId; - $this->currencyCode = $currencyCode; - $this->dateTimeZone = $dateTimeZone; - $this->descriptiveName = $descriptiveName; - $this->companyName = $companyName; - $this->canManageClients = $canManageClients; - $this->testAccount = $testAccount; - $this->autoTaggingEnabled = $autoTaggingEnabled; - } - - } -} - -if (!class_exists("CustomerServiceGet", false)) { - /** - * Returns details of the authorized customer. - * - * @return customer associated with the caller - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - 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("CustomerServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Customer - */ - 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("CustomerServiceMutate", false)) { - /** - * Update the authorized customer. - * - *

While there are a limited set of properties available to update, please read this - * help center article - * on auto-tagging before updating {@code customer.autoTaggingEnabled}. - * - * @param customer the requested updated value for the customer. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Customer - */ - public $customer; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($customer = null) { - $this->customer = $customer; - } - - } -} - -if (!class_exists("CustomerServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Customer - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CustomerService", false)) { - /** - * CustomerService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerService extends AdWordsSoapClient { - - const SERVICE_NAME = "CustomerService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/mcm/v201402/CustomerService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/mcm/v201402/CustomerService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "OperatorError.Reason" => "OperatorErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "Customer" => "Customer", - "get" => "CustomerServiceGet", - "getResponse" => "CustomerServiceGetResponse", - "mutate" => "CustomerServiceMutate", - "mutateResponse" => "CustomerServiceMutateResponse", - ); - - - /** - * 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 details of the authorized customer. - * - * @return customer associated with the caller - */ - public function get() { - $args = new CustomerServiceGet(); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * Update the authorized customer. - * - *

While there are a limited set of properties available to update, please read this - * help center article - * on auto-tagging before updating {@code customer.autoTaggingEnabled}. - * - * @param customer the requested updated value for the customer. - * @throws ApiException - */ - public function mutate($customer) { - $args = new CustomerServiceMutate($customer); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/CustomerSyncService.php b/src/Google/Api/Ads/AdWords/v201402/CustomerSyncService.php deleted file mode 100755 index 78247611d..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/CustomerSyncService.php +++ /dev/null @@ -1,2644 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ApiError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * - * - * - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Indicates that this instance is a subtype of ApplicationException. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * - * - * - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * - * - * - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AdGroupChangeData", false)) { - /** - * Holds information about a changed adgroup - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupChangeData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "AdGroupChangeData"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var tnsChangeStatus - */ - public $adGroupChangeStatus; - - /** - * @access public - * @var integer[] - */ - public $changedAds; - - /** - * @access public - * @var integer[] - */ - public $changedCriteria; - - /** - * @access public - * @var integer[] - */ - public $deletedCriteria; - - /** - * @access public - * @var integer[] - */ - public $changedFeeds; - - /** - * @access public - * @var integer[] - */ - public $deletedFeeds; - - /** - * @access public - * @var integer[] - */ - public $changedAdGroupBidModifierCriteria; - - /** - * @access public - * @var integer[] - */ - public $deletedAdGroupBidModifierCriteria; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $adGroupChangeStatus = null, $changedAds = null, $changedCriteria = null, $deletedCriteria = null, $changedFeeds = null, $deletedFeeds = null, $changedAdGroupBidModifierCriteria = null, $deletedAdGroupBidModifierCriteria = null) { - $this->adGroupId = $adGroupId; - $this->adGroupChangeStatus = $adGroupChangeStatus; - $this->changedAds = $changedAds; - $this->changedCriteria = $changedCriteria; - $this->deletedCriteria = $deletedCriteria; - $this->changedFeeds = $changedFeeds; - $this->deletedFeeds = $deletedFeeds; - $this->changedAdGroupBidModifierCriteria = $changedAdGroupBidModifierCriteria; - $this->deletedAdGroupBidModifierCriteria = $deletedAdGroupBidModifierCriteria; - } - - } -} - -if (!class_exists("CampaignChangeData", false)) { - /** - * Holds information about a changed campaign and any ad groups under - * that have changed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignChangeData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "CampaignChangeData"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var tnsChangeStatus - */ - public $campaignChangeStatus; - - /** - * @access public - * @var AdGroupChangeData[] - */ - public $changedAdGroups; - - /** - * @access public - * @var integer[] - */ - public $addedCampaignCriteria; - - /** - * @access public - * @var integer[] - */ - public $deletedCampaignCriteria; - - /** - * @access public - * @var integer[] - */ - public $addedAdExtensions; - - /** - * @access public - * @var integer[] - */ - public $deletedAdExtensions; - - /** - * @access public - * @var integer[] - */ - public $changedFeeds; - - /** - * @access public - * @var integer[] - */ - public $deletedFeeds; - - /** - * @access public - * @var boolean - */ - public $campaignTargetingChanged; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $campaignChangeStatus = null, $changedAdGroups = null, $addedCampaignCriteria = null, $deletedCampaignCriteria = null, $addedAdExtensions = null, $deletedAdExtensions = null, $changedFeeds = null, $deletedFeeds = null, $campaignTargetingChanged = null) { - $this->campaignId = $campaignId; - $this->campaignChangeStatus = $campaignChangeStatus; - $this->changedAdGroups = $changedAdGroups; - $this->addedCampaignCriteria = $addedCampaignCriteria; - $this->deletedCampaignCriteria = $deletedCampaignCriteria; - $this->addedAdExtensions = $addedAdExtensions; - $this->deletedAdExtensions = $deletedAdExtensions; - $this->changedFeeds = $changedFeeds; - $this->deletedFeeds = $deletedFeeds; - $this->campaignTargetingChanged = $campaignTargetingChanged; - } - - } -} - -if (!class_exists("CustomerSyncError", false)) { - /** - * Represents CustomerSyncService specific errors - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "CustomerSyncError"; - - /** - * @access public - * @var tnsCustomerSyncErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $campaignId = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->campaignId = $campaignId; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedChangeData", false)) { - /** - * Holds information about a changed feed and any feeds items within the feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedChangeData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "FeedChangeData"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var tnsChangeStatus - */ - public $feedChangeStatus; - - /** - * @access public - * @var integer[] - */ - public $changedFeedItems; - - /** - * @access public - * @var integer[] - */ - public $deletedFeedItems; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedChangeStatus = null, $changedFeedItems = null, $deletedFeedItems = null) { - $this->feedId = $feedId; - $this->feedChangeStatus = $feedChangeStatus; - $this->changedFeedItems = $changedFeedItems; - $this->deletedFeedItems = $deletedFeedItems; - } - - } -} - -if (!class_exists("CustomerChangeData", false)) { - /** - * Holds information about changes to a customer - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerChangeData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "CustomerChangeData"; - - /** - * @access public - * @var CampaignChangeData[] - */ - public $changedCampaigns; - - /** - * @access public - * @var FeedChangeData[] - */ - public $changedFeeds; - - /** - * @access public - * @var string - */ - public $lastChangeTimestamp; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($changedCampaigns = null, $changedFeeds = null, $lastChangeTimestamp = null) { - $this->changedCampaigns = $changedCampaigns; - $this->changedFeeds = $changedFeeds; - $this->lastChangeTimestamp = $lastChangeTimestamp; - } - - } -} - -if (!class_exists("CustomerSyncSelector", false)) { - /** - * A filter for selecting change history data for a customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "CustomerSyncSelector"; - - /** - * @access public - * @var DateTimeRange - */ - public $dateTimeRange; - - /** - * @access public - * @var integer[] - */ - public $campaignIds; - - /** - * @access public - * @var integer[] - */ - public $feedIds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($dateTimeRange = null, $campaignIds = null, $feedIds = null) { - $this->dateTimeRange = $dateTimeRange; - $this->campaignIds = $campaignIds; - $this->feedIds = $feedIds; - } - - } -} - -if (!class_exists("ChangeStatus", false)) { - /** - * An enum used to classify the types of changes that have been made to - * an adgroup/campaign during a specified date range. This only refers - * to the field of the entity itself, and not its children. - * - * For example, if an AdGroup name changed, this status would be FIELDS_CHANGED, - * but if only bids on keywords belonging an AdGroup were changed this - * status would be FIELDS_UNCHANGED. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ChangeStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "ChangeStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CustomerSyncErrorReason", false)) { - /** - * The request attempted to access a campaign that either does not - * exist or belongs to a different account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = "CustomerSyncError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CustomerSyncServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns information about changed entities inside a customer's account. - * - * @param selector Specifies the filter for selecting changehistory events for a customer. - * @return A Customer->Campaign->AdGroup hierarchy containing information about the objects - * changed at each level. All Campaigns that are requested in the selector will be returned, - * regardless of whether or not they have changed, but unchanged AdGroups will be ignored. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerSyncSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("CustomerSyncServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CustomerChangeData - */ - 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("AuthenticationError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("CustomerSyncService", false)) { - /** - * CustomerSyncService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CustomerSyncService extends AdWordsSoapClient { - - const SERVICE_NAME = "CustomerSyncService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/ch/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/ch/v201402/CustomerSyncService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/ch/v201402/CustomerSyncService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateTimeRange" => "DateTimeRange", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "AdGroupChangeData" => "AdGroupChangeData", - "CampaignChangeData" => "CampaignChangeData", - "CustomerSyncError" => "CustomerSyncError", - "FeedChangeData" => "FeedChangeData", - "CustomerChangeData" => "CustomerChangeData", - "CustomerSyncSelector" => "CustomerSyncSelector", - "ChangeStatus" => "ChangeStatus", - "CustomerSyncError.Reason" => "CustomerSyncErrorReason", - "get" => "CustomerSyncServiceGet", - "getResponse" => "CustomerSyncServiceGetResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns information about changed entities inside a customer's account. - * - * @param selector Specifies the filter for selecting changehistory events for a customer. - * @return A Customer->Campaign->AdGroup hierarchy containing information about the objects - * changed at each level. All Campaigns that are requested in the selector will be returned, - * regardless of whether or not they have changed, but unchanged AdGroups will be ignored. - */ - public function get($selector) { - $args = new CustomerSyncServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/DataService.php b/src/Google/Api/Ads/AdWords/v201402/DataService.php deleted file mode 100755 index 941819569..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/DataService.php +++ /dev/null @@ -1,3890 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BidLandscapeLandscapePoint", false)) { - /** - * A set of estimates for a criterion's performance for a specific bid - * amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidLandscapeLandscapePoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidLandscape.LandscapePoint"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var integer - */ - public $clicks; - - /** - * @access public - * @var Money - */ - public $cost; - - /** - * @access public - * @var Money - */ - public $marginalCpc; - - /** - * @access public - * @var integer - */ - public $impressions; - - /** - * @access public - * @var integer - */ - public $promotedImpressions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $clicks = null, $cost = null, $marginalCpc = null, $impressions = null, $promotedImpressions = null) { - $this->bid = $bid; - $this->clicks = $clicks; - $this->cost = $cost; - $this->marginalCpc = $marginalCpc; - $this->impressions = $impressions; - $this->promotedImpressions = $promotedImpressions; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("DataEntry", false)) { - /** - * The base class of all return types of the table service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DataEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DataEntry"; - - /** - * @access public - * @var string - */ - public $DataEntryType; - private $_parameterMap = array( - "DataEntry.Type" => "DataEntryType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($DataEntryType = null) { - $this->DataEntryType = $DataEntryType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupBidLandscapeType", false)) { - /** - * Used to specify the type of {@code AdGroupLandscape} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidLandscapeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidLandscape.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("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DataErrorReason", false)) { - /** - * Reasons for error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DataErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DataError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GetAdGroupBidLandscape", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidLandscape}s for the ad groups specified in the selector. - * In the result, the returned {@link LandscapePoint}s are grouped into - * {@link AdGroupBidLandscape}s by their ad groups, and numberResults of paging limits the total - * number of {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s. - * - * @param serviceSelector Selects the entities to return bid landscapes for. - * @return A list of bid landscapes. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetAdGroupBidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("GetAdGroupBidLandscapeResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetAdGroupBidLandscapeResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidLandscapePage - */ - 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("GetCriterionBidLandscape", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CriterionBidLandscape}s for the criteria specified in the selector. - * In the result, the returned {@link LandscapePoint}s are grouped into - * {@link CriterionBidLandscape}s by their criteria, and numberResults of paging limits the total - * number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s. - * - * @param serviceSelector Selects the entities to return bid landscapes for. - * @return A list of bid landscapes. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetCriterionBidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("GetCriterionBidLandscapeResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetCriterionBidLandscapeResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CriterionBidLandscapePage - */ - 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("QueryAdGroupBidLandscape", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidLandscape}s for the ad groups that match the query. In the - * result, the returned {@link LandscapePoint}s are grouped into {@link AdGroupBidLandscape}s - * by their ad groups, and numberResults of paging limits the total number of - * {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s. - * - * @param query The SQL-like AWQL query string. - * @return A list of bid landscapes. - * @throws ApiException if problems occur while parsing the query or fetching bid landscapes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryAdGroupBidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryAdGroupBidLandscapeResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryAdGroupBidLandscapeResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var AdGroupBidLandscapePage - */ - 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("QueryCriterionBidLandscape", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CriterionBidLandscape}s for the criteria that match the query. In the - * result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s - * by their criteria, and numberResults of paging limits the total number of - * {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s. - * - * @param query The SQL-like AWQL query string. - * @return A list of bid landscapes. - * @throws ApiException if problems occur while parsing the query or fetching bid landscapes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryCriterionBidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryCriterionBidLandscapeResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryCriterionBidLandscapeResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var CriterionBidLandscapePage - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DataError", false)) { - /** - * Represents errors thrown by the get operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DataError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DataError"; - - /** - * @access public - * @var tnsDataErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BidLandscape", false)) { - /** - * Represents data about a bid landscape for an ad group or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidLandscape extends DataEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidLandscape"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var string - */ - public $startDate; - - /** - * @access public - * @var string - */ - public $endDate; - - /** - * @access public - * @var BidLandscapeLandscapePoint[] - */ - public $landscapePoints; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null, $DataEntryType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - $this->DataEntryType = $DataEntryType; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AdGroupBidLandscape", false)) { - /** - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidLandscape extends BidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidLandscape"; - - /** - * @access public - * @var tnsAdGroupBidLandscapeType - */ - public $type; - - /** - * @access public - * @var boolean - */ - public $landscapeCurrent; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($type = null, $landscapeCurrent = null, $campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null) { - parent::__construct(); - $this->type = $type; - $this->landscapeCurrent = $landscapeCurrent; - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("CriterionBidLandscape", false)) { - /** - * The bid landscape for a criterion. A bid landscape estimates how a - * a criterion will perform based on different bid amounts. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionBidLandscape extends BidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionBidLandscape"; - - /** - * @access public - * @var integer - */ - public $criterionId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionId = null, $campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null) { - parent::__construct(); - $this->criterionId = $criterionId; - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - } - - } -} - -if (!class_exists("AdGroupBidLandscapePage", false)) { - /** - * Contains a subset of {@link AdGroupBidLandscape} objects resulting from the - * filtering and paging of - * {@link com.google.ads.api.services.campaignmgmt.data.DataService#getAdGroupBidLandscape} - * call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidLandscapePage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidLandscapePage"; - - /** - * @access public - * @var AdGroupBidLandscape[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("CriterionBidLandscapePage", false)) { - /** - * Contains a subset of {@link CriterionBidLandscapePage} objects resulting from the - * filtering and paging of - * {@link com.google.ads.api.services.campaignmgmt.data.DataService#getCriterionBidLandscape} - * call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionBidLandscapePage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionBidLandscapePage"; - - /** - * @access public - * @var CriterionBidLandscape[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("DataService", false)) { - /** - * DataService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DataService extends AdWordsSoapClient { - - const SERVICE_NAME = "DataService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/DataService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/DataService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdGroupBidLandscape" => "AdGroupBidLandscape", - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "LongValue" => "LongValue", - "Money" => "Money", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DataError" => "DataError", - "ComparableValue" => "ComparableValue", - "CriterionBidLandscape" => "CriterionBidLandscape", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "BidLandscape.LandscapePoint" => "BidLandscapeLandscapePoint", - "Selector" => "Selector", - "BidLandscape" => "BidLandscape", - "DataEntry" => "DataEntry", - "AdGroupBidLandscapePage" => "AdGroupBidLandscapePage", - "CriterionBidLandscapePage" => "CriterionBidLandscapePage", - "NoStatsPage" => "NoStatsPage", - "Page" => "Page", - "AdGroupBidLandscape.Type" => "AdGroupBidLandscapeType", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "DataError.Reason" => "DataErrorReason", - "getAdGroupBidLandscape" => "GetAdGroupBidLandscape", - "getAdGroupBidLandscapeResponse" => "GetAdGroupBidLandscapeResponse", - "getCriterionBidLandscape" => "GetCriterionBidLandscape", - "getCriterionBidLandscapeResponse" => "GetCriterionBidLandscapeResponse", - "queryAdGroupBidLandscape" => "QueryAdGroupBidLandscape", - "queryAdGroupBidLandscapeResponse" => "QueryAdGroupBidLandscapeResponse", - "queryCriterionBidLandscape" => "QueryCriterionBidLandscape", - "queryCriterionBidLandscapeResponse" => "QueryCriterionBidLandscapeResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidLandscape}s for the ad groups specified in the selector. - * In the result, the returned {@link LandscapePoint}s are grouped into - * {@link AdGroupBidLandscape}s by their ad groups, and numberResults of paging limits the total - * number of {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s. - * - * @param serviceSelector Selects the entities to return bid landscapes for. - * @return A list of bid landscapes. - * @throws ApiException when there is at least one error with the request. - */ - public function getAdGroupBidLandscape($serviceSelector) { - $args = new GetAdGroupBidLandscape($serviceSelector); - $result = $this->__soapCall("getAdGroupBidLandscape", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CriterionBidLandscape}s for the criteria specified in the selector. - * In the result, the returned {@link LandscapePoint}s are grouped into - * {@link CriterionBidLandscape}s by their criteria, and numberResults of paging limits the total - * number of {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s. - * - * @param serviceSelector Selects the entities to return bid landscapes for. - * @return A list of bid landscapes. - * @throws ApiException when there is at least one error with the request. - */ - public function getCriterionBidLandscape($serviceSelector) { - $args = new GetCriterionBidLandscape($serviceSelector); - $result = $this->__soapCall("getCriterionBidLandscape", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link AdGroupBidLandscape}s for the ad groups that match the query. In the - * result, the returned {@link LandscapePoint}s are grouped into {@link AdGroupBidLandscape}s - * by their ad groups, and numberResults of paging limits the total number of - * {@link LandscapePoint}s instead of number of {@link AdGroupBidLandscape}s. - * - * @param query The SQL-like AWQL query string. - * @return A list of bid landscapes. - * @throws ApiException if problems occur while parsing the query or fetching bid landscapes. - */ - public function queryAdGroupBidLandscape($query) { - $args = new QueryAdGroupBidLandscape($query); - $result = $this->__soapCall("queryAdGroupBidLandscape", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link CriterionBidLandscape}s for the criteria that match the query. In the - * result, the returned {@link LandscapePoint}s are grouped into {@link CriterionBidLandscape}s - * by their criteria, and numberResults of paging limits the total number of - * {@link LandscapePoint}s instead of number of {@link CriterionBidLandscape}s. - * - * @param query The SQL-like AWQL query string. - * @return A list of bid landscapes. - * @throws ApiException if problems occur while parsing the query or fetching bid landscapes. - */ - public function queryCriterionBidLandscape($query) { - $args = new QueryCriterionBidLandscape($query); - $result = $this->__soapCall("queryCriterionBidLandscape", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ExperimentService.php b/src/Google/Api/Ads/AdWords/v201402/ExperimentService.php deleted file mode 100755 index aa70c4021..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ExperimentService.php +++ /dev/null @@ -1,3906 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("ExperimentSummaryStats", false)) { - /** - * Contains how many changes were made associated with an experiment at - * the adgroup, critieria and creative levels - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentSummaryStats { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentSummaryStats"; - - /** - * @access public - * @var integer - */ - public $adGroupsCount; - - /** - * @access public - * @var integer - */ - public $adGroupCriteriaCount; - - /** - * @access public - * @var integer - */ - public $adGroupAdsCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupsCount = null, $adGroupCriteriaCount = null, $adGroupAdsCount = null) { - $this->adGroupsCount = $adGroupsCount; - $this->adGroupCriteriaCount = $adGroupCriteriaCount; - $this->adGroupAdsCount = $adGroupAdsCount; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("Experiment", false)) { - /** - * Class representing a experiment for the ExperimentService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Experiment { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Experiment"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var integer - */ - public $controlId; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsExperimentStatus - */ - public $status; - - /** - * @access public - * @var tnsExperimentServingStatus - */ - public $servingStatus; - - /** - * @access public - * @var integer - */ - public $queryPercentage; - - /** - * @access public - * @var string - */ - public $startDateTime; - - /** - * @access public - * @var string - */ - public $endDateTime; - - /** - * @access public - * @var string - */ - public $lastModifiedDateTime; - - /** - * @access public - * @var ExperimentSummaryStats - */ - public $experimentSummaryStats; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $controlId = null, $campaignId = null, $name = null, $status = null, $servingStatus = null, $queryPercentage = null, $startDateTime = null, $endDateTime = null, $lastModifiedDateTime = null, $experimentSummaryStats = null) { - $this->id = $id; - $this->controlId = $controlId; - $this->campaignId = $campaignId; - $this->name = $name; - $this->status = $status; - $this->servingStatus = $servingStatus; - $this->queryPercentage = $queryPercentage; - $this->startDateTime = $startDateTime; - $this->endDateTime = $endDateTime; - $this->lastModifiedDateTime = $lastModifiedDateTime; - $this->experimentSummaryStats = $experimentSummaryStats; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetErrorReason", false)) { - /** - * The reasons for the budget error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentServiceErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentServiceError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentServingStatus", false)) { - /** - * Experiment is currently active and receiving traffic - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentServingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentStatus", false)) { - /** - * Experiment status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the quota error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ExperimentServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of experiments specified by the experiment selector from - * the customer's account. - * @param serviceSelector The selector specifying the {@link Experiment}s to return. - * If selector is empty, all experiments are returned. - * @return List of experiments meeting all the criteria of each selector. - * @throws ApiException if problems occurred while fetching experiment information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("ExperimentServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExperimentPage - */ - 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("ExperimentServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Mutates (add, update or remove) experiments. - * Note: To REMOVE use SET and mark status to REMOVED. - * @param operations A list of unique operations. - * The same experiment cannot be specified in more than one operation. - * @return The updated experiments. The list of experiments is returned in - * the same order in which it came in as input. - * @throws ApiException if problems occurred while updating experiment information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExperimentOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("ExperimentServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExperimentReturnValue - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetError", false)) { - /** - * A list of all the error codes being used by the common budget domain package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError"; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExperimentServiceError", false)) { - /** - * Base error class for Experiment Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentServiceError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentServiceError"; - - /** - * @access public - * @var tnsExperimentServiceErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaError", false)) { - /** - * Errors that are thrown if a quota limit is exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaError"; - - /** - * @access public - * @var tnsQuotaErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $limit = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->limit = $limit; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExperimentOperation", false)) { - /** - * Operation for adding, updating or removing operations. For removing, - * use SET and mark status as REMOVED. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentOperation"; - - /** - * @access public - * @var Experiment - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("ExperimentPage", false)) { - /** - * Contains a subset of experiment resulting from the filtering and paging of the - * {@link com.google.ads.api.services.campaignmgmt.campaign.ExperimentService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentPage"; - - /** - * @access public - * @var Experiment[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ExperimentReturnValue", false)) { - /** - * A container for return values from the ExperimentService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentReturnValue"; - - /** - * @access public - * @var Experiment[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ExperimentService", false)) { - /** - * ExperimentService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentService extends AdWordsSoapClient { - - const SERVICE_NAME = "ExperimentService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/ExperimentService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/ExperimentService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BudgetError" => "BudgetError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "ExperimentServiceError" => "ExperimentServiceError", - "ExperimentSummaryStats" => "ExperimentSummaryStats", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "QuotaError" => "QuotaError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "Experiment" => "Experiment", - "ExperimentOperation" => "ExperimentOperation", - "ExperimentPage" => "ExperimentPage", - "ExperimentReturnValue" => "ExperimentReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BudgetError.Reason" => "BudgetErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ExperimentServiceError.Reason" => "ExperimentServiceErrorReason", - "ExperimentServingStatus" => "ExperimentServingStatus", - "ExperimentStatus" => "ExperimentStatus", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "QuotaError.Reason" => "QuotaErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "ExperimentServiceGet", - "getResponse" => "ExperimentServiceGetResponse", - "mutate" => "ExperimentServiceMutate", - "mutateResponse" => "ExperimentServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of experiments specified by the experiment selector from - * the customer's account. - * @param serviceSelector The selector specifying the {@link Experiment}s to return. - * If selector is empty, all experiments are returned. - * @return List of experiments meeting all the criteria of each selector. - * @throws ApiException if problems occurred while fetching experiment information. - */ - public function get($serviceSelector) { - $args = new ExperimentServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Mutates (add, update or remove) experiments. - * Note: To REMOVE use SET and mark status to REMOVED. - * @param operations A list of unique operations. - * The same experiment cannot be specified in more than one operation. - * @return The updated experiments. The list of experiments is returned in - * the same order in which it came in as input. - * @throws ApiException if problems occurred while updating experiment information. - */ - public function mutate($operations) { - $args = new ExperimentServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ExpressBusinessService.php b/src/Google/Api/Ads/AdWords/v201402/ExpressBusinessService.php deleted file mode 100755 index c50731162..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ExpressBusinessService.php +++ /dev/null @@ -1,3781 +0,0 @@ -streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -if (!class_exists("Date", false)) { - /** - * Represents a date. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Date { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var Date - */ - public $min; - - /** - * @access public - * @var Date - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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.

- * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ExpressBusinessError", false)) { - /** - * Express business related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusinessError"; - - /** - * @access public - * @var tnsExpressBusinessErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PhoneNumber", false)) { - /** - * Phone number which contains the phone number string plus the region that the number is to be - * from. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PhoneNumber { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PhoneNumber"; - - /** - * @access public - * @var tnsRegionCode - */ - public $regionCode; - - /** - * @access public - * @var string - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($regionCode = null, $number = null) { - $this->regionCode = $regionCode; - $this->number = $number; - } - - } -} - -if (!class_exists("ExpressBusiness", false)) { - /** - * Information about an AdWords Express business. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusiness { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusiness"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsExpressBusinessStatus - */ - public $status; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var PhoneNumber - */ - public $phoneNumber; - - /** - * @access public - * @var string - */ - public $website; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $address = null, $geoPoint = null, $phoneNumber = null, $website = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->address = $address; - $this->geoPoint = $geoPoint; - $this->phoneNumber = $phoneNumber; - $this->website = $website; - } - - } -} - -if (!class_exists("ExpressBusinessOperation", false)) { - /** - * A typed {@link Operation} class that uses an instance of {@link ExpressBusiness} as its operand. - * - *

Note: The REMOVE operator is not - * supported. To remove an {@link ExpressBusiness}, set its {@link ExpressBusiness#status status} - * to DELETED.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusinessOperation"; - - /** - * @access public - * @var ExpressBusiness - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ExpressBusinessStatus", false)) { - /** - * Possible statusus of this business. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusiness.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("ExpressBusinessErrorReason", false)) { - /** - * Reason behind the {@code BusinessError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusinessError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCode", false)) { - /** - * A region (country, territory, continent, etc), as defined by Unicode's - * "CLDR", itself based on ISO 3166 (UN country codes). - * - *

See: - * - * http://unicode.org/cldr/charts/supplemental/territory_containment_un_m_49.html - * - *

It contains no behavior, but is the authoritative definition of Region - * identity in java Google code. - * - *

Do: - *

    - *
  • use it everywhere you need to compare regions
  • - *
  • use it in all APIs that take/return a region (such as a country), - * particularly all public APIs
  • - *
  • get the instance corresponding to an CLDR code using {@link #forString} - *
  • - *
  • get the String CLDR code with {@link #toString}
  • - *
  • use the String CLDR code in your DB as a key to currencies
  • - *
  • if your API supports only a subset of these codes, make sure to - * validate (e.g. by creating an EnumSet and using Precondition) - *
  • put your project-specific region-related information in a class under - * your project root, using an EnumMap or BiMap to map these Regions to your - * objects. - *
  • - *
- * - * Do not: - *
    - *
  • depend on the ordinal of a region, for example using {@link #ordinal()} - * or depending on the index of a particular region in the {@link #values} - * array. - *
  • depend on the comparison order of regions, via - * {@link Enum#compareTo(Enum)}), or via the iteration order of an - * EnumSet, etc. - *
  • use {@link #valueOf} or {@link #name()}. The CLDR numeric codes aren't - * valid for java, so they were prepended by "UN" (as in "UN001" for the - * CLDR code "001"). - *
  • assume that these are the same as the two-letter ISO codes. Oftentimes - * they will be, but CLDR guarantees stability, so ISO codes that change - * will be different from the entries in this enum. - *
- * - * This enum does not: - *
    - *
  • have i18n features
  • - *
  • have application-specific data
  • - *
- * - * These concerns will be addressed by other classes, some in - * application-specific packages, others in common.base.i18n. The latter ones - * will be listed with "see" tags in this class. - * This class does not supply methods for getting information about regions. - * For those methods, see {@link RegionInfo}. - * - *

Note that not all regions have a "two-letter" country code. Instead, some - * have a three digit number -- the UN M.49 (United Nations) area code. - * These are the enum items prepended with "UN". See: - * - *

    - *
  • http://unstats.un.org/unsd/methods/m49/m49alpha.htm - *
  • http://unstats.un.org/unsd/methods/m49/m49.htm - *
- * - *

Also note that CLDR -- contrary to ISO -- guarantees non-reuse of - * country codes. Thus, though most times CLDR codes are the same as the ISO - * codes, sometimes they are not. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "RegionCode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExpressBusinessServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the Express businesses that meet the criteria set in the given selector. - * - * @param selector the selector specifying the AdWords Express businesses to return - * @return list of AdWords Express businesses identified by the selector - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("ExpressBusinessServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExpressBusinessPage - */ - 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("ExpressBusinessServiceMutate", false)) { - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Performs the given {@link ExpressBusinessOperation}. - * - * @param operations list of unique operations; the same AdWords Express business cannot be - * specified in more than one operation - * @return the updated AdWords Express businesses - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExpressBusinessOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("ExpressBusinessServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ExpressBusiness[] - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ExpressBusinessPage", false)) { - /** - * Contains a page of {@link ExpressBusiness}es with no stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessPage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressBusinessPage"; - - /** - * @access public - * @var ExpressBusiness[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("ExpressBusinessService", false)) { - /** - * ExpressBusinessService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressBusinessService extends AdWordsSoapClient { - - const SERVICE_NAME = "ExpressBusinessService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201402/ExpressBusinessService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201402/ExpressBusinessService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Address" => "Address", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "Date" => "Date", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "GeoPoint" => "GeoPoint", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "ExpressBusinessError" => "ExpressBusinessError", - "PhoneNumber" => "PhoneNumber", - "ExpressBusiness" => "ExpressBusiness", - "ExpressBusinessOperation" => "ExpressBusinessOperation", - "ExpressBusinessPage" => "ExpressBusinessPage", - "NoStatsPage" => "NoStatsPage", - "ExpressBusiness.Status" => "ExpressBusinessStatus", - "ExpressBusinessError.Reason" => "ExpressBusinessErrorReason", - "RegionCode" => "RegionCode", - "get" => "ExpressBusinessServiceGet", - "getResponse" => "ExpressBusinessServiceGetResponse", - "mutate" => "ExpressBusinessServiceMutate", - "mutateResponse" => "ExpressBusinessServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the Express businesses that meet the criteria set in the given selector. - * - * @param selector the selector specifying the AdWords Express businesses to return - * @return list of AdWords Express businesses identified by the selector - */ - public function get($selector) { - $args = new ExpressBusinessServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Performs the given {@link ExpressBusinessOperation}. - * - * @param operations list of unique operations; the same AdWords Express business cannot be - * specified in more than one operation - * @return the updated AdWords Express businesses - */ - public function mutate($operations) { - $args = new ExpressBusinessServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/FeedItemService.php b/src/Google/Api/Ads/AdWords/v201402/FeedItemService.php deleted file mode 100755 index 85a027983..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/FeedItemService.php +++ /dev/null @@ -1,4203 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("FeedItemAttributeError", false)) { - /** - * Contains validation error details for a set of feed attributes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemAttributeError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemAttributeError"; - - /** - * @access public - * @var integer[] - */ - public $feedAttributeIds; - - /** - * @access public - * @var integer - */ - public $validationErrorCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedAttributeIds = null, $validationErrorCode = null) { - $this->feedAttributeIds = $feedAttributeIds; - $this->validationErrorCode = $validationErrorCode; - } - - } -} - -if (!class_exists("FeedItemAttributeValue", false)) { - /** - * Represents a feed item's value for a particular feed attribute. A feed item's value is - * composed of a collection of these attribute values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemAttributeValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemAttributeValue"; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * @access public - * @var integer - */ - public $integerValue; - - /** - * @access public - * @var double - */ - public $doubleValue; - - /** - * @access public - * @var boolean - */ - public $booleanValue; - - /** - * @access public - * @var string - */ - public $stringValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedAttributeId = null, $integerValue = null, $doubleValue = null, $booleanValue = null, $stringValue = null) { - $this->feedAttributeId = $feedAttributeId; - $this->integerValue = $integerValue; - $this->doubleValue = $doubleValue; - $this->booleanValue = $booleanValue; - $this->stringValue = $stringValue; - } - - } -} - -if (!class_exists("FeedItemDevicePreference", false)) { - /** - * Represents a FeedItem device preference. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemDevicePreference { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemDevicePreference"; - - /** - * @access public - * @var integer - */ - public $devicePreference; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($devicePreference = null) { - $this->devicePreference = $devicePreference; - } - - } -} - -if (!class_exists("FeedItemSchedule", false)) { - /** - * Represents a FeedItem schedule, which specifies a time interval on a given day - * when the feed item may serve. The FeedItemSchedule times are in the account's time zone. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemSchedule { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemSchedule"; - - /** - * @access public - * @var tnsDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $endMinute; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null) { - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - } - - } -} - -if (!class_exists("FeedItemScheduling", false)) { - /** - * Represents a collection of FeedItem schedules specifying all time intervals for which - * the feed item may serve. Any time range not covered by the specified FeedItemSchedules will - * prevent the feed item from serving during those times. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemScheduling { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemScheduling"; - - /** - * @access public - * @var FeedItemSchedule[] - */ - public $feedItemSchedules; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedItemSchedules = null) { - $this->feedItemSchedules = $feedItemSchedules; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("FeedItemValidationDetail", false)) { - /** - * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each - * validation detail indicates any issues found on the feed item when used in the context - * of the feed mapping. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetail { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail"; - - /** - * @access public - * @var integer - */ - public $feedMappingId; - - /** - * @access public - * @var tnsFeedItemValidationDetailValidationStatus - */ - public $validationStatus; - - /** - * @access public - * @var FeedItemAttributeError[] - */ - public $validationErrors; - - /** - * @access public - * @var tnsFeedItemValidationDetailApprovalStatus - */ - public $approvalStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedMappingId = null, $validationStatus = null, $validationErrors = null, $approvalStatus = null) { - $this->feedMappingId = $feedMappingId; - $this->validationStatus = $validationStatus; - $this->validationErrors = $validationErrors; - $this->approvalStatus = $approvalStatus; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("FeedItem", false)) { - /** - * Represents an item in a feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItem { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItem"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $feedItemId; - - /** - * @access public - * @var tnsFeedItemStatus - */ - public $status; - - /** - * @access public - * @var string - */ - public $startTime; - - /** - * @access public - * @var string - */ - public $endTime; - - /** - * @access public - * @var FeedItemAttributeValue[] - */ - public $attributeValues; - - /** - * @access public - * @var FeedItemValidationDetail[] - */ - public $validationDetails; - - /** - * @access public - * @var FeedItemDevicePreference - */ - public $devicePreference; - - /** - * @access public - * @var FeedItemScheduling - */ - public $scheduling; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $validationDetails = null, $devicePreference = null, $scheduling = null) { - $this->feedId = $feedId; - $this->feedItemId = $feedItemId; - $this->status = $status; - $this->startTime = $startTime; - $this->endTime = $endTime; - $this->attributeValues = $attributeValues; - $this->validationDetails = $validationDetails; - $this->devicePreference = $devicePreference; - $this->scheduling = $scheduling; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DayOfWeek { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemStatus", false)) { - /** - * Feed item is active - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItem.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("FeedItemErrorReason", false)) { - /** - * The reasons for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemValidationDetailApprovalStatus", false)) { - /** - * Feed item approval status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetailApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemValidationDetailValidationStatus", false)) { - /** - * Feed item validation status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetailValidationStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail.ValidationStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MinuteOfHour", false)) { - /** - * Minutes in an hour. Currently only 0, 15, 30, and 45 are supported - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MinuteOfHour { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("FeedItemServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of FeedItems that meet the selector criteria. - * - * @param selector Determines which FeedItems to return. If empty all - * FeedItems are returned. - * @return The list of FeedItems. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("FeedItemServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedItemPage - */ - 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("FeedItemServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Add, remove, and set FeedItems. - * - * @param operations The operations to apply. - * @return The resulting FeedItems. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedItemOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("FeedItemServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedItemReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of FeedItems that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of FeedItems - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedItemPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedItemError", false)) { - /** - * FeedItemService related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemError"; - - /** - * @access public - * @var tnsFeedItemErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("FeedItemOperation", false)) { - /** - * FeedItem service mutate operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemOperation"; - - /** - * @access public - * @var FeedItem - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("FeedItemReturnValue", false)) { - /** - * A container for return values from FeedItemService.mutate(). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemReturnValue"; - - /** - * @access public - * @var FeedItem[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("FeedItemPage", false)) { - /** - * Contains a subset of feed items resulting from a {@link FeedItemService#get} call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemPage"; - - /** - * @access public - * @var FeedItem[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("FeedItemService", false)) { - /** - * FeedItemService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemService extends AdWordsSoapClient { - - const SERVICE_NAME = "FeedItemService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/FeedItemService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/FeedItemService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "FeedItemAttributeError" => "FeedItemAttributeError", - "FeedItemAttributeValue" => "FeedItemAttributeValue", - "FeedItemDevicePreference" => "FeedItemDevicePreference", - "FeedItemError" => "FeedItemError", - "FeedItemSchedule" => "FeedItemSchedule", - "FeedItemScheduling" => "FeedItemScheduling", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "FeedItemValidationDetail" => "FeedItemValidationDetail", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "FeedItem" => "FeedItem", - "FeedItemOperation" => "FeedItemOperation", - "FeedItemPage" => "FeedItemPage", - "FeedItemReturnValue" => "FeedItemReturnValue", - "ListReturnValue" => "ListReturnValue", - "NullStatsPage" => "NullStatsPage", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DayOfWeek" => "DayOfWeek", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "FeedItem.Status" => "FeedItemStatus", - "FeedItemError.Reason" => "FeedItemErrorReason", - "FeedItemValidationDetail.ApprovalStatus" => "FeedItemValidationDetailApprovalStatus", - "FeedItemValidationDetail.ValidationStatus" => "FeedItemValidationDetailValidationStatus", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "MinuteOfHour" => "MinuteOfHour", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "FeedItemServiceGet", - "getResponse" => "FeedItemServiceGetResponse", - "mutate" => "FeedItemServiceMutate", - "mutateResponse" => "FeedItemServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of FeedItems that meet the selector criteria. - * - * @param selector Determines which FeedItems to return. If empty all - * FeedItems are returned. - * @return The list of FeedItems. - * @throws ApiException Indicates a problem with the request. - */ - public function get($selector) { - $args = new FeedItemServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Add, remove, and set FeedItems. - * - * @param operations The operations to apply. - * @return The resulting FeedItems. - * @throws ApiException Indicates a problem with the request. - */ - public function mutate($operations) { - $args = new FeedItemServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of FeedItems that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of FeedItems - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/FeedMappingService.php b/src/Google/Api/Ads/AdWords/v201402/FeedMappingService.php deleted file mode 100755 index ea50d37f8..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/FeedMappingService.php +++ /dev/null @@ -1,3576 +0,0 @@ -For a list of feed placeholders, see - * - * https://developers.google.com/adwords/api/docs/appendix/placeholders - *

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AttributeFieldMapping { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AttributeFieldMapping"; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * @access public - * @var integer - */ - public $fieldId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedAttributeId = null, $fieldId = null) { - $this->feedAttributeId = $feedAttributeId; - $this->fieldId = $fieldId; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var string - */ - public $min; - - /** - * @access public - * @var string - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("FeedMapping", false)) { - /** - * A FeedMapping represents a mapping between feed attributes in a specific feed - * and placeholder fields for a specific placeholder type. This will tell the - * ads serving system which parts of the feed item should be used when - * populating a placeholder. Without this mapping the placeholder cannot be - * populated and the extension can not be displayed. - * - *

For a list of feed placeholders, see - * - * https://developers.google.com/adwords/api/docs/appendix/placeholders - *

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMapping { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMapping"; - - /** - * @access public - * @var integer - */ - public $feedMappingId; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $placeholderType; - - /** - * @access public - * @var tnsFeedMappingStatus - */ - public $status; - - /** - * @access public - * @var AttributeFieldMapping[] - */ - public $attributeFieldMappings; - - /** - * @access public - * @var integer - */ - public $criterionType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedMappingId = null, $feedId = null, $placeholderType = null, $status = null, $attributeFieldMappings = null, $criterionType = null) { - $this->feedMappingId = $feedMappingId; - $this->feedId = $feedId; - $this->placeholderType = $placeholderType; - $this->status = $status; - $this->attributeFieldMappings = $attributeFieldMappings; - $this->criterionType = $criterionType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedMappingStatus", false)) { - /** - * This mapping is used in feeds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMapping.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("FeedMappingErrorReason", false)) { - /** - * The given placeholder field does not exist. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMappingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("FeedMappingServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of FeedMappings that meet the selector criteria. - * - * @param selector Determines which FeedMappings to return. If empty all - * FeedMappings are returned. - * @return The list of FeedMappings. - * @throws ApiException indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("FeedMappingServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedMappingPage - */ - 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("FeedMappingServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Add and remove FeedMappings. - * - * @param operations The operations to apply. - * @return The resulting FeedMappings. - * @throws ApiException indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedMappingOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("FeedMappingServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedMappingReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of FeedMappings that match the query. - * - * @param query The SQL-like AWQL query string - * @returns The list of FeedMappings - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedMappingPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedMappingError", false)) { - /** - * Errors caused by invalid usage of FeedMappingService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMappingError"; - - /** - * @access public - * @var tnsFeedMappingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedMappingOperation", false)) { - /** - * Operation used to create a FeedMapping. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMappingOperation"; - - /** - * @access public - * @var FeedMapping - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("FeedMappingReturnValue", false)) { - /** - * The result of a call to {@link FeedMappingService#mutate}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMappingReturnValue"; - - /** - * @access public - * @var FeedMapping[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("FeedMappingPage", false)) { - /** - * The result of a call to {@link FeedMappingService#get}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedMappingPage"; - - /** - * @access public - * @var FeedMapping[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("FeedMappingService", false)) { - /** - * FeedMappingService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedMappingService extends AdWordsSoapClient { - - const SERVICE_NAME = "FeedMappingService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/FeedMappingService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/FeedMappingService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AttributeFieldMapping" => "AttributeFieldMapping", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "FeedMapping" => "FeedMapping", - "FeedMappingError" => "FeedMappingError", - "FeedMappingOperation" => "FeedMappingOperation", - "FeedMappingPage" => "FeedMappingPage", - "FeedMappingReturnValue" => "FeedMappingReturnValue", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "ListReturnValue" => "ListReturnValue", - "NotEmptyError" => "NotEmptyError", - "NullStatsPage" => "NullStatsPage", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "FeedMapping.Status" => "FeedMappingStatus", - "FeedMappingError.Reason" => "FeedMappingErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "FeedMappingServiceGet", - "getResponse" => "FeedMappingServiceGetResponse", - "mutate" => "FeedMappingServiceMutate", - "mutateResponse" => "FeedMappingServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of FeedMappings that meet the selector criteria. - * - * @param selector Determines which FeedMappings to return. If empty all - * FeedMappings are returned. - * @return The list of FeedMappings. - * @throws ApiException indicates a problem with the request. - */ - public function get($selector) { - $args = new FeedMappingServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Add and remove FeedMappings. - * - * @param operations The operations to apply. - * @return The resulting FeedMappings. - * @throws ApiException indicates a problem with the request. - */ - public function mutate($operations) { - $args = new FeedMappingServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of FeedMappings that match the query. - * - * @param query The SQL-like AWQL query string - * @returns The list of FeedMappings - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/FeedService.php b/src/Google/Api/Ads/AdWords/v201402/FeedService.php deleted file mode 100755 index 697eb02da..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/FeedService.php +++ /dev/null @@ -1,4032 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("FeedAttribute", false)) { - /** - * FeedAttributes define the types of data expected to be present in a Feed. A single FeedAttribute - * specifies the expected type of the FeedItemAttributes with the same FeedAttributeId. Optionally, - * a FeedAttribute can be marked as being part of a FeedItem's unique key. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedAttribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedAttribute"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsFeedAttributeType - */ - public $type; - - /** - * @access public - * @var boolean - */ - public $isPartOfKey; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $isPartOfKey = null) { - $this->id = $id; - $this->name = $name; - $this->type = $type; - $this->isPartOfKey = $isPartOfKey; - } - - } -} - -if (!class_exists("OAuthInfo", false)) { - /** - * Data used for authorization using OAuth. - * For more information about OAuth, see: - * {@link "https://developers.google.com/accounts/docs/OAuth2"} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OAuthInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OAuthInfo"; - - /** - * @access public - * @var string - */ - public $httpMethod; - - /** - * @access public - * @var string - */ - public $httpRequestUrl; - - /** - * @access public - * @var string - */ - public $httpAuthorizationHeader; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($httpMethod = null, $httpRequestUrl = null, $httpAuthorizationHeader = null) { - $this->httpMethod = $httpMethod; - $this->httpRequestUrl = $httpRequestUrl; - $this->httpAuthorizationHeader = $httpAuthorizationHeader; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("SystemFeedGenerationData", false)) { - /** - * Configuration data allowing feed items to be populated for a system feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SystemFeedGenerationData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SystemFeedGenerationData"; - - /** - * @access public - * @var string - */ - public $SystemFeedGenerationDataType; - private $_parameterMap = array( - "SystemFeedGenerationData.Type" => "SystemFeedGenerationDataType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SystemFeedGenerationDataType = null) { - $this->SystemFeedGenerationDataType = $SystemFeedGenerationDataType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Feed", false)) { - /** - * A Feed identifies a source of data and its schema. The data for the Feed can either be - * user-entered via the FeedItemService or system-generated, in which case the data is provided - * automatically. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Feed { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Feed"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var FeedAttribute[] - */ - public $attributes; - - /** - * @access public - * @var tnsFeedStatus - */ - public $status; - - /** - * @access public - * @var tnsFeedOrigin - */ - public $origin; - - /** - * @access public - * @var SystemFeedGenerationData - */ - public $systemFeedGenerationData; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $attributes = null, $status = null, $origin = null, $systemFeedGenerationData = null) { - $this->id = $id; - $this->name = $name; - $this->attributes = $attributes; - $this->status = $status; - $this->origin = $origin; - $this->systemFeedGenerationData = $systemFeedGenerationData; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedOrigin", false)) { - /** - * Used to Specify who manages the {@link FeedAttribute}s for the {@link Feed}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedOrigin { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Feed.Origin"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedStatus", false)) { - /** - * Status of the Feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Feed.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("FeedAttributeType", false)) { - /** - * Possible data types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedAttributeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedAttribute.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("FeedErrorReason", false)) { - /** - * Error reasons. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("FeedServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of Feeds that meet the selector criteria. - * - * @param selector Determines which Feeds to return. If empty all - * Feeds are returned. - * @return The list of Feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("FeedServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedPage - */ - 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("FeedServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Add, remove, and set Feeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("FeedServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedReturnValue - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of Feed that match the query. - * - * @param query The SQL-like AWQL query string. - * @returns A list of Feed. - * @throws ApiException if problems occur while parsing the query or fetching Feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var FeedPage - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedError", false)) { - /** - * An error caused by an invalid Feed in a FeedService request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedError"; - - /** - * @access public - * @var tnsFeedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PlacesLocationFeedData", false)) { - /** - * Data used to configure a location feed populated from - * Google My Business Locations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacesLocationFeedData extends SystemFeedGenerationData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlacesLocationFeedData"; - - /** - * @access public - * @var OAuthInfo - */ - public $oAuthInfo; - - /** - * @access public - * @var string - */ - public $emailAddress; - - /** - * @access public - * @var string - */ - public $businessNameFilter; - - /** - * @access public - * @var string[] - */ - public $categoryFilters; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($oAuthInfo = null, $emailAddress = null, $businessNameFilter = null, $categoryFilters = null, $SystemFeedGenerationDataType = null) { - parent::__construct(); - $this->oAuthInfo = $oAuthInfo; - $this->emailAddress = $emailAddress; - $this->businessNameFilter = $businessNameFilter; - $this->categoryFilters = $categoryFilters; - $this->SystemFeedGenerationDataType = $SystemFeedGenerationDataType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("FeedOperation", false)) { - /** - * Operation used to create or mutate a Feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedOperation"; - - /** - * @access public - * @var Feed - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("FeedReturnValue", false)) { - /** - * The result of a call to FeedService#mutate. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedReturnValue"; - - /** - * @access public - * @var Feed[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("FeedPage", false)) { - /** - * The result of a call to FeedService#get. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedPage"; - - /** - * @access public - * @var Feed[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("FeedService", false)) { - /** - * FeedService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedService extends AdWordsSoapClient { - - const SERVICE_NAME = "FeedService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/FeedService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/FeedService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "FeedAttribute" => "FeedAttribute", - "FeedError" => "FeedError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OAuthInfo" => "OAuthInfo", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "PlacesLocationFeedData" => "PlacesLocationFeedData", - "DatabaseError" => "DatabaseError", - "SystemFeedGenerationData" => "SystemFeedGenerationData", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Feed" => "Feed", - "FeedOperation" => "FeedOperation", - "FeedPage" => "FeedPage", - "FeedReturnValue" => "FeedReturnValue", - "ListReturnValue" => "ListReturnValue", - "NullStatsPage" => "NullStatsPage", - "Operation" => "Operation", - "Page" => "Page", - "Selector" => "Selector", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "Feed.Origin" => "FeedOrigin", - "Feed.Status" => "FeedStatus", - "FeedAttribute.Type" => "FeedAttributeType", - "FeedError.Reason" => "FeedErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "FeedServiceGet", - "getResponse" => "FeedServiceGetResponse", - "mutate" => "FeedServiceMutate", - "mutateResponse" => "FeedServiceMutateResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of Feeds that meet the selector criteria. - * - * @param selector Determines which Feeds to return. If empty all - * Feeds are returned. - * @return The list of Feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function get($selector) { - $args = new FeedServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Add, remove, and set Feeds. - * - * @param operations The operations to apply. - * @return The resulting Feeds. - * @throws ApiException Indicates a problem with the request. - */ - public function mutate($operations) { - $args = new FeedServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of Feed that match the query. - * - * @param query The SQL-like AWQL query string. - * @returns A list of Feed. - * @throws ApiException if problems occur while parsing the query or fetching Feed. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/GeoLocationService.php b/src/Google/Api/Ads/AdWords/v201402/GeoLocationService.php deleted file mode 100755 index 2b731e4c4..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/GeoLocationService.php +++ /dev/null @@ -1,2469 +0,0 @@ -streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -if (!class_exists("GeoLocationSelector", false)) { - /** - * A selector used to fetch geographic coordinates for given addresses. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoLocationSelector"; - - /** - * @access public - * @var Address[] - */ - public $addresses; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($addresses = null) { - $this->addresses = $addresses; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("GeoLocation", false)) { - /** - * Class representing a location with its geographic coordinates. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoLocation"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * @access public - * @var base64Binary - */ - public $encodedLocation; - - /** - * @access public - * @var string - */ - public $GeoLocationType; - private $_parameterMap = array( - "GeoLocation.Type" => "GeoLocationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($geoPoint = null, $address = null, $encodedLocation = null, $GeoLocationType = null) { - $this->geoPoint = $geoPoint; - $this->address = $address; - $this->encodedLocation = $encodedLocation; - $this->GeoLocationType = $GeoLocationType; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GeoLocationErrorReason", false)) { - /** - * The reasons for the geolocation errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoLocationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GeoLocationServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the geographic location information for the address specified. - * - * @param selector specifies the addresses. - * @return list of {@link GeoLocation} objects. Returns {@link InvalidGeoLocation} object if - * the address cannot be geocoded. - * @throws ApiException if problems occurred while retrieving the location information - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var GeoLocationSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("GeoLocationServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var GeoLocation[] - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("GeoLocationError", false)) { - /** - * Errors for {@link GeoLocationService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoLocationError"; - - /** - * @access public - * @var tnsGeoLocationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InvalidGeoLocation", false)) { - /** - * Invalid GeoLocation object. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InvalidGeoLocation extends GeoLocation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "InvalidGeoLocation"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($geoPoint = null, $address = null, $encodedLocation = null, $GeoLocationType = null) { - parent::__construct(); - $this->geoPoint = $geoPoint; - $this->address = $address; - $this->encodedLocation = $encodedLocation; - $this->GeoLocationType = $GeoLocationType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("GeoLocationService", false)) { - /** - * GeoLocationService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoLocationService extends AdWordsSoapClient { - - const SERVICE_NAME = "GeoLocationService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/GeoLocationService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/GeoLocationService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Address" => "Address", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DistinctError" => "DistinctError", - "GeoLocationError" => "GeoLocationError", - "GeoLocationSelector" => "GeoLocationSelector", - "GeoPoint" => "GeoPoint", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "InvalidGeoLocation" => "InvalidGeoLocation", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "GeoLocation" => "GeoLocation", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "GeoLocationError.Reason" => "GeoLocationErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "GeoLocationServiceGet", - "getResponse" => "GeoLocationServiceGetResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the geographic location information for the address specified. - * - * @param selector specifies the addresses. - * @return list of {@link GeoLocation} objects. Returns {@link InvalidGeoLocation} object if - * the address cannot be geocoded. - * @throws ApiException if problems occurred while retrieving the location information - */ - public function get($selector) { - $args = new GeoLocationServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/LocationCriterionService.php b/src/Google/Api/Ads/AdWords/v201402/LocationCriterionService.php deleted file mode 100755 index 91c19d397..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/LocationCriterionService.php +++ /dev/null @@ -1,3889 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Date", false)) { - /** - * Represents a date. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Date { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var Date - */ - public $min; - - /** - * @access public - * @var Date - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("LocationCriterion", false)) { - /** - * Represents data that encapsulates a location criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationCriterion"; - - /** - * @access public - * @var Location - */ - public $location; - - /** - * @access public - * @var string - */ - public $canonicalName; - - /** - * @access public - * @var integer - */ - public $reach; - - /** - * @access public - * @var string - */ - public $locale; - - /** - * @access public - * @var string - */ - public $searchTerm; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($location = null, $canonicalName = null, $reach = null, $locale = null, $searchTerm = null, $countryCode = null) { - $this->location = $location; - $this->canonicalName = $canonicalName; - $this->reach = $reach; - $this->locale = $locale; - $this->searchTerm = $searchTerm; - $this->countryCode = $countryCode; - } - - } -} - -if (!class_exists("LocationCriterionServiceError", false)) { - /** - * Represents errors thrown by the {@link LocationCriterionService#get} operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterionServiceError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationCriterionServiceError"; - - /** - * @access public - * @var tnsLocationCriterionServiceErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationCriterionServiceErrorReason", false)) { - /** - * Reasons for error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterionServiceErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationCriterionServiceError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationCriterionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link LocationCriterion}'s that match the specified selector. - * - * @param selector filters the LocationCriterion to be returned. - * @return A list of location criterion. - * @throws ApiException when there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("LocationCriterionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var LocationCriterion[] - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of {@link LocationCriterion}s that match the query. - * - * @param query The SQL-like AWQL query string - * @returns The list of location criteria - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var LocationCriterion[] - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("LocationCriterionService", false)) { - /** - * LocationCriterionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationCriterionService extends AdWordsSoapClient { - - const SERVICE_NAME = "LocationCriterionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/LocationCriterionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/LocationCriterionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "Criterion" => "Criterion", - "DatabaseError" => "DatabaseError", - "Date" => "Date", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "Location" => "Location", - "LocationCriterion" => "LocationCriterion", - "LocationCriterionServiceError" => "LocationCriterionServiceError", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Placement" => "Placement", - "Predicate" => "Predicate", - "Product" => "Product", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "LocationCriterionServiceError.Reason" => "LocationCriterionServiceErrorReason", - "LocationTargetingStatus" => "LocationTargetingStatus", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "get" => "LocationCriterionServiceGet", - "getResponse" => "LocationCriterionServiceGetResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of {@link LocationCriterion}'s that match the specified selector. - * - * @param selector filters the LocationCriterion to be returned. - * @return A list of location criterion. - * @throws ApiException when there is at least one error with the request. - */ - public function get($selector) { - $args = new LocationCriterionServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of {@link LocationCriterion}s that match the query. - * - * @param query The SQL-like AWQL query string - * @returns The list of location criteria - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ManagedCustomerService.php b/src/Google/Api/Ads/AdWords/v201402/ManagedCustomerService.php deleted file mode 100755 index 5968cded6..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ManagedCustomerService.php +++ /dev/null @@ -1,4171 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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.

- * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("ManagedCustomerServiceError", false)) { - /** - * Error for {@link ManagedCustomerService} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerServiceError"; - - /** - * @access public - * @var tnsManagedCustomerServiceErrorReason - */ - public $reason; - - /** - * @access public - * @var integer[] - */ - public $customerIds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $customerIds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->customerIds = $customerIds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PendingInvitationSelector", false)) { - /** - * Selector for getPendingInvitations method. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PendingInvitationSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "PendingInvitationSelector"; - - /** - * @access public - * @var integer[] - */ - public $managerCustomerIds; - - /** - * @access public - * @var integer[] - */ - public $clientCustomerIds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($managerCustomerIds = null, $clientCustomerIds = null) { - $this->managerCustomerIds = $managerCustomerIds; - $this->clientCustomerIds = $clientCustomerIds; - } - - } -} - -if (!class_exists("ManagedCustomerLink", false)) { - /** - * Represents an AdWords manager-client link. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerLink { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerLink"; - - /** - * @access public - * @var integer - */ - public $managerCustomerId; - - /** - * @access public - * @var integer - */ - public $clientCustomerId; - - /** - * @access public - * @var tnsLinkStatus - */ - public $linkStatus; - - /** - * @access public - * @var string - */ - public $pendingDescriptiveName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($managerCustomerId = null, $clientCustomerId = null, $linkStatus = null, $pendingDescriptiveName = null) { - $this->managerCustomerId = $managerCustomerId; - $this->clientCustomerId = $clientCustomerId; - $this->linkStatus = $linkStatus; - $this->pendingDescriptiveName = $pendingDescriptiveName; - } - - } -} - -if (!class_exists("LinkOperation", false)) { - /** - * Operation for modifying ManagedCustomer links. See {@link ManagedCustomerService#mutateLink}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LinkOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "LinkOperation"; - - /** - * @access public - * @var ManagedCustomerLink - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("MoveOperation", false)) { - /** - * Operation for moving ManagedCustomer links. See {@link ManagedCustomerService#mutateManager}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MoveOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "MoveOperation"; - - /** - * @access public - * @var ManagedCustomerLink - */ - public $operand; - - /** - * @access public - * @var integer - */ - public $oldManagerCustomerId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $oldManagerCustomerId = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->oldManagerCustomerId = $oldManagerCustomerId; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("MutateLinkResults", false)) { - /** - * Results of a {@link ManagedCustomerService#mutateLink} call which changes - * manager/client links. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateLinkResults { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "MutateLinkResults"; - - /** - * @access public - * @var ManagedCustomerLink[] - */ - public $links; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($links = null) { - $this->links = $links; - } - - } -} - -if (!class_exists("MutateManagerResults", false)) { - /** - * Results of a {@link ManagedCustomerService#mutateManager} call, which moves client customers to - * new managers. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateManagerResults { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "MutateManagerResults"; - - /** - * @access public - * @var ManagedCustomerLink[] - */ - public $links; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($links = null) { - $this->links = $links; - } - - } -} - -if (!class_exists("ManagedCustomer", false)) { - /** - * Data object that represents a managed customer. Member of {@link ManagedCustomerPage}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomer { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomer"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $login; - - /** - * @access public - * @var string - */ - public $companyName; - - /** - * @access public - * @var integer - */ - public $customerId; - - /** - * @access public - * @var boolean - */ - public $canManageClients; - - /** - * @access public - * @var string - */ - public $currencyCode; - - /** - * @access public - * @var string - */ - public $dateTimeZone; - - /** - * @access public - * @var boolean - */ - public $testAccount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $login = null, $companyName = null, $customerId = null, $canManageClients = null, $currencyCode = null, $dateTimeZone = null, $testAccount = null) { - $this->name = $name; - $this->login = $login; - $this->companyName = $companyName; - $this->customerId = $customerId; - $this->canManageClients = $canManageClients; - $this->currencyCode = $currencyCode; - $this->dateTimeZone = $dateTimeZone; - $this->testAccount = $testAccount; - } - - } -} - -if (!class_exists("ManagedCustomerOperation", false)) { - /** - * An operation on a managed customer. - *

Note: only ADD operator is supported.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerOperation"; - - /** - * @access public - * @var ManagedCustomer - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("ManagedCustomerPage", false)) { - /** - * Return result of {@link ManagedCustomerService} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerPage"; - - /** - * @access public - * @var ManagedCustomer[] - */ - public $entries; - - /** - * @access public - * @var ManagedCustomerLink[] - */ - public $links; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $links = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->links = $links; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ManagedCustomerReturnValue", false)) { - /** - * A container for return values from the ManagedCustomerService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerReturnValue"; - - /** - * @access public - * @var ManagedCustomer[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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("PendingInvitation", false)) { - /** - * Pending invitation result for the getPendingInvitations method. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PendingInvitation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "PendingInvitation"; - - /** - * @access public - * @var ManagedCustomer - */ - public $manager; - - /** - * @access public - * @var ManagedCustomer - */ - public $client; - - /** - * @access public - * @var string - */ - public $creationDate; - - /** - * @access public - * @var string - */ - public $expirationDate; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($manager = null, $client = null, $creationDate = null, $expirationDate = null) { - $this->manager = $manager; - $this->client = $client; - $this->creationDate = $creationDate; - $this->expirationDate = $expirationDate; - } - - } -} - -if (!class_exists("LinkStatus", false)) { - /** - * These status values match the values in the ServicedAccounts.Status column. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LinkStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "LinkStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ManagedCustomerServiceErrorReason", false)) { - /** - * Unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = "ManagedCustomerServiceError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ManagedCustomerServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of customers that meet the selector criteria. - * - * @param selector The selector specifying the {@link ManagedCustomer}s to return. - * @return List of customers identified by the selector. - * @throws ApiException When there is at least one error with the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("ManagedCustomerServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ManagedCustomerPage - */ - 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("GetPendingInvitations", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the pending invitations for the customer IDs in the selector. - * @param selector the manager customer ids (inviters) or the client customer ids (invitees) - * @throws ApiException when there is at least one error with the request - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetPendingInvitations { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var PendingInvitationSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("GetPendingInvitationsResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetPendingInvitationsResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var PendingInvitation[] - */ - 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("ManagedCustomerServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, ADD. - * - * - * - * Adds managed customers. - * - *

Note: {@link ManagedCustomerOperation} only supports - * {@code ADD} operator.

- * - * @param operations List of unique operations. - * @return The list of updated managed customers, returned in the same order as the - * operations array. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ManagedCustomerOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("ManagedCustomerServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ManagedCustomerReturnValue - */ - 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("MutateLink", false)) { - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, ADD. - * - * - * - * Modifies the ManagedCustomer forest. These actions are possible (categorized by - * Operator + Link Status): - * - *
    - *
  • ADD + PENDING: manager extends invitations - *
  • SET + CANCELLED: manager rescinds invitations - *
  • SET + INACTIVE: manager/client terminates links - *
  • SET + ACTIVE: client accepts invitations - *
  • SET + REFUSED: client declines invitations - *
- * - * @param operations the list of operations - * @return results for the given operations - * @throws ApiException with a {@link ManagedCustomerServiceError} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateLink { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var LinkOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("MutateLinkResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateLinkResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MutateLinkResults - */ - 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("MutateManager", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET. - * - * - * - * Moves client customers to new managers (moving links). Only the following action is possible: - * - *
    - *
  • SET + ACTIVE: manager moves client customers to new managers within the same MCC - * hierarchy - *
- * - * @param operations List of unique operations. - * @return results for the given operations - * @throws ApiException with a {@link ManagedCustomerServiceError} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateManager { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MoveOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("MutateManagerResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateManagerResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MutateManagerResults - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ManagedCustomerService", false)) { - /** - * ManagedCustomerService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManagedCustomerService extends AdWordsSoapClient { - - const SERVICE_NAME = "ManagedCustomerService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/mcm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/mcm/v201402/ManagedCustomerService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/mcm/v201402/ManagedCustomerService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "ManagedCustomerServiceError" => "ManagedCustomerServiceError", - "PendingInvitationSelector" => "PendingInvitationSelector", - "ManagedCustomerLink" => "ManagedCustomerLink", - "LinkOperation" => "LinkOperation", - "MoveOperation" => "MoveOperation", - "MutateLinkResults" => "MutateLinkResults", - "MutateManagerResults" => "MutateManagerResults", - "ManagedCustomer" => "ManagedCustomer", - "ManagedCustomerOperation" => "ManagedCustomerOperation", - "ManagedCustomerPage" => "ManagedCustomerPage", - "ManagedCustomerReturnValue" => "ManagedCustomerReturnValue", - "PendingInvitation" => "PendingInvitation", - "LinkStatus" => "LinkStatus", - "ManagedCustomerServiceError.Reason" => "ManagedCustomerServiceErrorReason", - "get" => "ManagedCustomerServiceGet", - "getResponse" => "ManagedCustomerServiceGetResponse", - "getPendingInvitations" => "GetPendingInvitations", - "getPendingInvitationsResponse" => "GetPendingInvitationsResponse", - "mutate" => "ManagedCustomerServiceMutate", - "mutateResponse" => "ManagedCustomerServiceMutateResponse", - "mutateLink" => "MutateLink", - "mutateLinkResponse" => "MutateLinkResponse", - "mutateManager" => "MutateManager", - "mutateManagerResponse" => "MutateManagerResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of customers that meet the selector criteria. - * - * @param selector The selector specifying the {@link ManagedCustomer}s to return. - * @return List of customers identified by the selector. - * @throws ApiException When there is at least one error with the request. - */ - public function get($serviceSelector) { - $args = new ManagedCustomerServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the pending invitations for the customer IDs in the selector. - * @param selector the manager customer ids (inviters) or the client customer ids (invitees) - * @throws ApiException when there is at least one error with the request - */ - public function getPendingInvitations($selector) { - $args = new GetPendingInvitations($selector); - $result = $this->__soapCall("getPendingInvitations", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, ADD. - * - * - * - * Adds managed customers. - * - *

Note: {@link ManagedCustomerOperation} only supports - * {@code ADD} operator.

- * - * @param operations List of unique operations. - * @return The list of updated managed customers, returned in the same order as the - * operations array. - */ - public function mutate($operations) { - $args = new ManagedCustomerServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET, ADD. - * - * - * - * Modifies the ManagedCustomer forest. These actions are possible (categorized by - * Operator + Link Status): - * - *
    - *
  • ADD + PENDING: manager extends invitations - *
  • SET + CANCELLED: manager rescinds invitations - *
  • SET + INACTIVE: manager/client terminates links - *
  • SET + ACTIVE: client accepts invitations - *
  • SET + REFUSED: client declines invitations - *
- * - * @param operations the list of operations - * @return results for the given operations - * @throws ApiException with a {@link ManagedCustomerServiceError} - */ - public function mutateLink($operations) { - $args = new MutateLink($operations); - $result = $this->__soapCall("mutateLink", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: SET. - * - * - * - * Moves client customers to new managers (moving links). Only the following action is possible: - * - *
    - *
  • SET + ACTIVE: manager moves client customers to new managers within the same MCC - * hierarchy - *
- * - * @param operations List of unique operations. - * @return results for the given operations - * @throws ApiException with a {@link ManagedCustomerServiceError} - */ - public function mutateManager($operations) { - $args = new MutateManager($operations); - $result = $this->__soapCall("mutateManager", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/MediaService.php b/src/Google/Api/Ads/AdWords/v201402/MediaService.php deleted file mode 100755 index efa4f7c50..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/MediaService.php +++ /dev/null @@ -1,3925 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("Dimensions", false)) { - /** - * Represents a simple height-width dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Dimensions { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Dimensions"; - - /** - * @access public - * @var integer - */ - public $width; - - /** - * @access public - * @var integer - */ - public $height; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->width = $width; - $this->height = $height; - } - - } -} - -if (!class_exists("Media_Size_DimensionsMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type Dimensions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_DimensionsMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_DimensionsMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - public $key; - - /** - * @access public - * @var Dimensions - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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("Media_Size_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_StringMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - 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("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Media", false)) { - /** - * Represents some kind of media. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media"; - - /** - * @access public - * @var integer - */ - public $mediaId; - - /** - * @access public - * @var tnsMediaMediaType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $referenceId; - - /** - * @access public - * @var Media_Size_DimensionsMapEntry[] - */ - public $dimensions; - - /** - * @access public - * @var Media_Size_StringMapEntry[] - */ - public $urls; - - /** - * @access public - * @var tnsMediaMimeType - */ - public $mimeType; - - /** - * @access public - * @var string - */ - public $sourceUrl; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $fileSize; - - /** - * @access public - * @var string - */ - public $creationTime; - - /** - * @access public - * @var string - */ - public $MediaType; - private $_parameterMap = array( - "Media.Type" => "MediaType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("MediaPage", false)) { - /** - * Page of media returned by the {@link MediaService} which includes - * the media. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaPage"; - - /** - * @access public - * @var Media[] - */ - public $entries; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null) { - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AudioErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AudioErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AudioError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 image is not valid. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MediaMediaType", false)) { - /** - * Media types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMediaType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.MediaType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaMimeType", false)) { - /** - * Mime types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMimeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.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("MediaSize", false)) { - /** - * Sizes for retrieving the original media - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaSize { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.Size"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("VideoErrorReason", false)) { - /** - * Invalid video. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class VideoErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "VideoError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of media that meet the criteria specified by the selector. - *

Note: {@code MediaService} will not return any - * {@link ImageAd} image files.

- * - * @param serviceSelector Selects which media objects to return. - * @return A list of {@code Media} objects. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $serviceSelector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($serviceSelector = null) { - $this->serviceSelector = $serviceSelector; - } - - } -} - -if (!class_exists("MediaServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MediaPage - */ - 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("Query", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of {@link Media} objects that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of {@code Media} objects. - * @throws ApiException when the query is invalid or there are errors processing the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Query { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var string - */ - public $query; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->query = $query; - } - - } -} - -if (!class_exists("QueryResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var MediaPage - */ - 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("Upload", false)) { - /** - * Uploads new media. Currently, you can only upload {@link Image} files. - * - * @param media A list of {@code Media} objects, each containing the data to - * be uploaded. - * @return A list of uploaded media in the same order as the argument list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Upload { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Media[] - */ - public $media; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($media = null) { - $this->media = $media; - } - - } -} - -if (!class_exists("UploadResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UploadResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Media[] - */ - 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("Audio", false)) { - /** - * Encapsulates an Audio media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Audio extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Audio"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("AudioError", false)) { - /** - * Error class for errors associated with parsing audio data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AudioError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AudioError"; - - /** - * @access public - * @var tnsAudioErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Image", false)) { - /** - * Encapsulates an Image media. For {@code SET},{@code REMOVE} operations in - * MediaService, use {@code mediaId}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Image extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Image"; - - /** - * @access public - * @var base64Binary - */ - public $data; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($data = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->data = $data; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("ImageError", false)) { - /** - * Error class for errors associated with parsing image data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("MediaError", false)) { - /** - * Error class for media related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError"; - - /** - * @access public - * @var tnsMediaErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Video", false)) { - /** - * Encapsulates a Video media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Video extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Video"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * @access public - * @var string - */ - public $industryStandardCommercialIdentifier; - - /** - * @access public - * @var string - */ - public $advertisingId; - - /** - * @access public - * @var string - */ - public $youTubeVideoIdString; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->industryStandardCommercialIdentifier = $industryStandardCommercialIdentifier; - $this->advertisingId = $advertisingId; - $this->youTubeVideoIdString = $youTubeVideoIdString; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("VideoError", false)) { - /** - * Error class for errors associated with parsing video data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class VideoError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "VideoError"; - - /** - * @access public - * @var tnsVideoErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("MediaService", false)) { - /** - * MediaService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaService extends AdWordsSoapClient { - - const SERVICE_NAME = "MediaService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/MediaService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/MediaService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Audio" => "Audio", - "AudioError" => "AudioError", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "Dimensions" => "Dimensions", - "DistinctError" => "DistinctError", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "Image" => "Image", - "ImageError" => "ImageError", - "InternalApiError" => "InternalApiError", - "MediaError" => "MediaError", - "Media_Size_DimensionsMapEntry" => "Media_Size_DimensionsMapEntry", - "Media_Size_StringMapEntry" => "Media_Size_StringMapEntry", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Predicate" => "Predicate", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "Video" => "Video", - "VideoError" => "VideoError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Media" => "Media", - "MediaPage" => "MediaPage", - "Selector" => "Selector", - "AudioError.Reason" => "AudioErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "ImageError.Reason" => "ImageErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "Media.MediaType" => "MediaMediaType", - "Media.MimeType" => "MediaMimeType", - "Media.Size" => "MediaSize", - "MediaError.Reason" => "MediaErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Predicate.Operator" => "PredicateOperator", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "VideoError.Reason" => "VideoErrorReason", - "get" => "MediaServiceGet", - "getResponse" => "MediaServiceGetResponse", - "query" => "Query", - "queryResponse" => "QueryResponse", - "upload" => "Upload", - "uploadResponse" => "UploadResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of media that meet the criteria specified by the selector. - *

Note: {@code MediaService} will not return any - * {@link ImageAd} image files.

- * - * @param serviceSelector Selects which media objects to return. - * @return A list of {@code Media} objects. - */ - public function get($serviceSelector) { - $args = new MediaServiceGet($serviceSelector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the list of {@link Media} objects that match the query. - * - * @param query The SQL-like AWQL query string - * @returns A list of {@code Media} objects. - * @throws ApiException when the query is invalid or there are errors processing the request. - */ - public function query($query) { - $args = new Query($query); - $result = $this->__soapCall("query", array($args)); - return $result->rval; - } - /** - * Uploads new media. Currently, you can only upload {@link Image} files. - * - * @param media A list of {@code Media} objects, each containing the data to - * be uploaded. - * @return A list of uploaded media in the same order as the argument list. - */ - public function upload($media) { - $args = new Upload($media); - $result = $this->__soapCall("upload", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/MutateJobService.php b/src/Google/Api/Ads/AdWords/v201402/MutateJobService.php deleted file mode 100755 index a1b54dc8a..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/MutateJobService.php +++ /dev/null @@ -1,19232 +0,0 @@ -This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Ad"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $url; - - /** - * @access public - * @var string - */ - public $displayUrl; - - /** - * @access public - * @var integer - */ - public $devicePreference; - - /** - * @access public - * @var string - */ - public $AdType; - private $_parameterMap = array( - "Ad.Type" => "AdType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("AdExtension", false)) { - /** - * Base class for AdExtension objects. An AdExtension is an extension to - * an existing ad or metadata that will process into an extension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtension"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $AdExtensionType; - private $_parameterMap = array( - "AdExtension.Type" => "AdExtensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdExtensionType = null) { - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("AdExtensionOverride", false)) { - /** - * Represents an ad level ad extension override. An ad extension override - * specifies the ad extension that must be used if the ad is served with - * any ad extension data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverride { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverride"; - - /** - * @access public - * @var integer - */ - public $adId; - - /** - * @access public - * @var AdExtension - */ - public $adExtension; - - /** - * @access public - * @var OverrideInfo - */ - public $overrideInfo; - - /** - * @access public - * @var tnsAdExtensionOverrideStatus - */ - public $status; - - /** - * @access public - * @var tnsAdExtensionOverrideApprovalStatus - */ - public $approvalStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adId = null, $adExtension = null, $overrideInfo = null, $status = null, $approvalStatus = null) { - $this->adId = $adId; - $this->adExtension = $adExtension; - $this->overrideInfo = $overrideInfo; - $this->status = $status; - $this->approvalStatus = $approvalStatus; - } - - } -} - -if (!class_exists("AdGroup", false)) { - /** - * Represents an ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroup { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroup"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var string - */ - public $campaignName; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsAdGroupStatus - */ - public $status; - - /** - * @access public - * @var Setting[] - */ - public $settings; - - /** - * @access public - * @var AdGroupExperimentData - */ - public $experimentData; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var tnsCriterionTypeGroup - */ - public $contentBidCriterionTypeGroup; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $campaignId = null, $campaignName = null, $name = null, $status = null, $settings = null, $experimentData = null, $forwardCompatibilityMap = null, $biddingStrategyConfiguration = null, $contentBidCriterionTypeGroup = null) { - $this->id = $id; - $this->campaignId = $campaignId; - $this->campaignName = $campaignName; - $this->name = $name; - $this->status = $status; - $this->settings = $settings; - $this->experimentData = $experimentData; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->contentBidCriterionTypeGroup = $contentBidCriterionTypeGroup; - } - - } -} - -if (!class_exists("AdGroupAd", false)) { - /** - * Represents an ad in an ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAd { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var Ad - */ - public $ad; - - /** - * @access public - * @var AdGroupAdExperimentData - */ - public $experimentData; - - /** - * @access public - * @var tnsAdGroupAdStatus - */ - public $status; - - /** - * @access public - * @var tnsAdGroupAdApprovalStatus - */ - public $approvalStatus; - - /** - * @access public - * @var string[] - */ - public $disapprovalReasons; - - /** - * @access public - * @var boolean - */ - public $trademarkDisapproved; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $ad = null, $experimentData = null, $status = null, $approvalStatus = null, $disapprovalReasons = null, $trademarkDisapproved = null, $forwardCompatibilityMap = null) { - $this->adGroupId = $adGroupId; - $this->ad = $ad; - $this->experimentData = $experimentData; - $this->status = $status; - $this->approvalStatus = $approvalStatus; - $this->disapprovalReasons = $disapprovalReasons; - $this->trademarkDisapproved = $trademarkDisapproved; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - } - - } -} - -if (!class_exists("AdGroupAdExperimentData", false)) { - /** - * Data associated with an advertiser experiment for an AdGroupAd - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - } - - } -} - -if (!class_exists("AdGroupBidModifier", false)) { - /** - * Represents an adgroup level bid modifier override for campaign level criterion - * bid modifier values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifier"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var tnsBidModifierSource - */ - public $bidModifierSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupId = null, $criterion = null, $bidModifier = null, $bidModifierSource = null) { - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->bidModifierSource = $bidModifierSource; - } - - } -} - -if (!class_exists("AdGroupCriterion", false)) { - /** - * Represents a criterion in an ad group, used with AdGroupCriterionService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterion"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var tnsCriterionUse - */ - public $criterionUse; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var string - */ - public $AdGroupCriterionType; - private $_parameterMap = array( - "AdGroupCriterion.Type" => "AdGroupCriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("AdGroupCriterionExperimentBidMultiplier", false)) { - /** - * Bid multiplier used to modify the bid of a criterion while running - * an experiment. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionExperimentBidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionExperimentBidMultiplier"; - - /** - * @access public - * @var string - */ - public $AdGroupCriterionExperimentBidMultiplierType; - private $_parameterMap = array( - "AdGroupCriterionExperimentBidMultiplier.Type" => "AdGroupCriterionExperimentBidMultiplierType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdGroupCriterionExperimentBidMultiplierType = null) { - $this->AdGroupCriterionExperimentBidMultiplierType = $AdGroupCriterionExperimentBidMultiplierType; - } - - } -} - -if (!class_exists("AdGroupExperimentBidMultipliers", false)) { - /** - * Bid multiplier used to modify the bid of an adgroup while running - * an experiment. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var string - */ - public $AdGroupExperimentBidMultipliersType; - private $_parameterMap = array( - "AdGroupExperimentBidMultipliers.Type" => "AdGroupExperimentBidMultipliersType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdGroupExperimentBidMultipliersType = null) { - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("AdGroupExperimentData", false)) { - /** - * Data associated with an advertiser experiment for this adgroup. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * @access public - * @var AdGroupExperimentBidMultipliers - */ - public $experimentBidMultipliers; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null, $experimentBidMultipliers = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - $this->experimentBidMultipliers = $experimentBidMultipliers; - } - - } -} - -if (!class_exists("AdUnionId", false)) { - /** - * Represents an id indicating a grouping of Ads under some heuristic. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdUnionId { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdUnionId"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $AdUnionIdType; - private $_parameterMap = array( - "AdUnionId.Type" => "AdUnionIdType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdUnionIdType = null) { - $this->id = $id; - $this->AdUnionIdType = $AdUnionIdType; - } - - } -} - -if (!class_exists("Address", false)) { - /** - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Address { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Address"; - - /** - * @access public - * @var string - */ - public $streetAddress; - - /** - * @access public - * @var string - */ - public $streetAddress2; - - /** - * @access public - * @var string - */ - public $cityName; - - /** - * @access public - * @var string - */ - public $provinceCode; - - /** - * @access public - * @var string - */ - public $provinceName; - - /** - * @access public - * @var string - */ - public $postalCode; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($streetAddress = null, $streetAddress2 = null, $cityName = null, $provinceCode = null, $provinceName = null, $postalCode = null, $countryCode = null) { - $this->streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiErrorReason", false)) { - /** - * Interface that has a reason return an associated service error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiErrorReason"; - - /** - * @access public - * @var tnsAdErrorReason - */ - public $AdErrorReason; - - /** - * @access public - * @var tnsAdExtensionErrorReason - */ - public $AdExtensionErrorReason; - - /** - * @access public - * @var tnsAdExtensionOverrideErrorReason - */ - public $AdExtensionOverrideErrorReason; - - /** - * @access public - * @var tnsAdGroupAdErrorReason - */ - public $AdGroupAdErrorReason; - - /** - * @access public - * @var tnsAdGroupCriterionErrorReason - */ - public $AdGroupCriterionErrorReason; - - /** - * @access public - * @var tnsAdGroupServiceErrorReason - */ - public $AdGroupServiceErrorReason; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $AdxErrorReason; - - /** - * @access public - * @var tnsAuthenticationErrorReason - */ - public $AuthenticationErrorReason; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $AuthorizationErrorReason; - - /** - * @access public - * @var tnsBetaErrorReason - */ - public $BetaErrorReason; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $BiddingErrorReason; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $BiddingErrorsReason; - - /** - * @access public - * @var tnsBiddingTransitionErrorReason - */ - public $BiddingTransitionErrorReason; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $BudgetErrorReason; - - /** - * @access public - * @var tnsBulkMutateJobErrorReason - */ - public $BulkMutateJobErrorReason; - - /** - * @access public - * @var tnsCampaignAdExtensionErrorReason - */ - public $CampaignAdExtensionErrorReason; - - /** - * @access public - * @var tnsCampaignCriterionErrorReason - */ - public $CampaignCriterionErrorReason; - - /** - * @access public - * @var tnsCampaignErrorReason - */ - public $CampaignErrorReason; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $ClientTermsErrorReason; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $CriterionErrorReason; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $DatabaseErrorReason; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $DateErrorReason; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $DistinctErrorReason; - - /** - * @access public - * @var tnsEntityAccessDeniedReason - */ - public $EntityAccessDeniedReason; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $EntityCountLimitExceededReason; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $EntityNotFoundReason; - - /** - * @access public - * @var tnsExperimentErrorReason - */ - public $ExperimentErrorReason; - - /** - * @access public - * @var tnsFeedItemErrorReason - */ - public $FeedItemErrorReason; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $ForwardCompatibilityErrorReason; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $FunctionErrorReason; - - /** - * @access public - * @var tnsFunctionParsingErrorReason - */ - public $FunctionParsingErrorReason; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $IdErrorReason; - - /** - * @access public - * @var tnsImageErrorReason - */ - public $ImageErrorReason; - - /** - * @access public - * @var tnsInternalApiErrorReason - */ - public $InternalApiErrorReason; - - /** - * @access public - * @var tnsJobErrorReason - */ - public $JobErrorReason; - - /** - * @access public - * @var tnsMediaErrorReason - */ - public $MediaErrorReason; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $NewEntityCreationErrorReason; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $NotEmptyErrorReason; - - /** - * @access public - * @var tnsNullErrorReason - */ - public $NullErrorReason; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $OperationAccessDeniedReason; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $OperatorErrorReason; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $PagingErrorReason; - - /** - * @access public - * @var tnsPolicyViolationErrorReason - */ - public $PolicyViolationErrorReason; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $QueryErrorReason; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $QuotaCheckErrorReason; - - /** - * @access public - * @var tnsQuotaErrorReason - */ - public $QuotaErrorReason; - - /** - * @access public - * @var tnsRangeErrorReason - */ - public $RangeErrorReason; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $RateExceededErrorReason; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $ReadOnlyErrorReason; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $RegionCodeErrorReason; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $RejectedErrorReason; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $RequestErrorReason; - - /** - * @access public - * @var tnsRequiredErrorReason - */ - public $RequiredErrorReason; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $SelectorErrorReason; - - /** - * @access public - * @var tnsSettingErrorReason - */ - public $SettingErrorReason; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $SizeLimitErrorReason; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $StatsQueryErrorReason; - - /** - * @access public - * @var tnsStringLengthErrorReason - */ - public $StringLengthErrorReason; - - /** - * @access public - * @var tnsTargetErrorReason - */ - public $TargetErrorReason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdErrorReason = null, $AdExtensionErrorReason = null, $AdExtensionOverrideErrorReason = null, $AdGroupAdErrorReason = null, $AdGroupCriterionErrorReason = null, $AdGroupServiceErrorReason = null, $AdxErrorReason = null, $AuthenticationErrorReason = null, $AuthorizationErrorReason = null, $BetaErrorReason = null, $BiddingErrorReason = null, $BiddingErrorsReason = null, $BiddingTransitionErrorReason = null, $BudgetErrorReason = null, $BulkMutateJobErrorReason = null, $CampaignAdExtensionErrorReason = null, $CampaignCriterionErrorReason = null, $CampaignErrorReason = null, $ClientTermsErrorReason = null, $CriterionErrorReason = null, $DatabaseErrorReason = null, $DateErrorReason = null, $DistinctErrorReason = null, $EntityAccessDeniedReason = null, $EntityCountLimitExceededReason = null, $EntityNotFoundReason = null, $ExperimentErrorReason = null, $FeedItemErrorReason = null, $ForwardCompatibilityErrorReason = null, $FunctionErrorReason = null, $FunctionParsingErrorReason = null, $IdErrorReason = null, $ImageErrorReason = null, $InternalApiErrorReason = null, $JobErrorReason = null, $MediaErrorReason = null, $NewEntityCreationErrorReason = null, $NotEmptyErrorReason = null, $NullErrorReason = null, $OperationAccessDeniedReason = null, $OperatorErrorReason = null, $PagingErrorReason = null, $PolicyViolationErrorReason = null, $QueryErrorReason = null, $QuotaCheckErrorReason = null, $QuotaErrorReason = null, $RangeErrorReason = null, $RateExceededErrorReason = null, $ReadOnlyErrorReason = null, $RegionCodeErrorReason = null, $RejectedErrorReason = null, $RequestErrorReason = null, $RequiredErrorReason = null, $SelectorErrorReason = null, $SettingErrorReason = null, $SizeLimitErrorReason = null, $StatsQueryErrorReason = null, $StringLengthErrorReason = null, $TargetErrorReason = null) { - $this->AdErrorReason = $AdErrorReason; - $this->AdExtensionErrorReason = $AdExtensionErrorReason; - $this->AdExtensionOverrideErrorReason = $AdExtensionOverrideErrorReason; - $this->AdGroupAdErrorReason = $AdGroupAdErrorReason; - $this->AdGroupCriterionErrorReason = $AdGroupCriterionErrorReason; - $this->AdGroupServiceErrorReason = $AdGroupServiceErrorReason; - $this->AdxErrorReason = $AdxErrorReason; - $this->AuthenticationErrorReason = $AuthenticationErrorReason; - $this->AuthorizationErrorReason = $AuthorizationErrorReason; - $this->BetaErrorReason = $BetaErrorReason; - $this->BiddingErrorReason = $BiddingErrorReason; - $this->BiddingErrorsReason = $BiddingErrorsReason; - $this->BiddingTransitionErrorReason = $BiddingTransitionErrorReason; - $this->BudgetErrorReason = $BudgetErrorReason; - $this->BulkMutateJobErrorReason = $BulkMutateJobErrorReason; - $this->CampaignAdExtensionErrorReason = $CampaignAdExtensionErrorReason; - $this->CampaignCriterionErrorReason = $CampaignCriterionErrorReason; - $this->CampaignErrorReason = $CampaignErrorReason; - $this->ClientTermsErrorReason = $ClientTermsErrorReason; - $this->CriterionErrorReason = $CriterionErrorReason; - $this->DatabaseErrorReason = $DatabaseErrorReason; - $this->DateErrorReason = $DateErrorReason; - $this->DistinctErrorReason = $DistinctErrorReason; - $this->EntityAccessDeniedReason = $EntityAccessDeniedReason; - $this->EntityCountLimitExceededReason = $EntityCountLimitExceededReason; - $this->EntityNotFoundReason = $EntityNotFoundReason; - $this->ExperimentErrorReason = $ExperimentErrorReason; - $this->FeedItemErrorReason = $FeedItemErrorReason; - $this->ForwardCompatibilityErrorReason = $ForwardCompatibilityErrorReason; - $this->FunctionErrorReason = $FunctionErrorReason; - $this->FunctionParsingErrorReason = $FunctionParsingErrorReason; - $this->IdErrorReason = $IdErrorReason; - $this->ImageErrorReason = $ImageErrorReason; - $this->InternalApiErrorReason = $InternalApiErrorReason; - $this->JobErrorReason = $JobErrorReason; - $this->MediaErrorReason = $MediaErrorReason; - $this->NewEntityCreationErrorReason = $NewEntityCreationErrorReason; - $this->NotEmptyErrorReason = $NotEmptyErrorReason; - $this->NullErrorReason = $NullErrorReason; - $this->OperationAccessDeniedReason = $OperationAccessDeniedReason; - $this->OperatorErrorReason = $OperatorErrorReason; - $this->PagingErrorReason = $PagingErrorReason; - $this->PolicyViolationErrorReason = $PolicyViolationErrorReason; - $this->QueryErrorReason = $QueryErrorReason; - $this->QuotaCheckErrorReason = $QuotaCheckErrorReason; - $this->QuotaErrorReason = $QuotaErrorReason; - $this->RangeErrorReason = $RangeErrorReason; - $this->RateExceededErrorReason = $RateExceededErrorReason; - $this->ReadOnlyErrorReason = $ReadOnlyErrorReason; - $this->RegionCodeErrorReason = $RegionCodeErrorReason; - $this->RejectedErrorReason = $RejectedErrorReason; - $this->RequestErrorReason = $RequestErrorReason; - $this->RequiredErrorReason = $RequiredErrorReason; - $this->SelectorErrorReason = $SelectorErrorReason; - $this->SettingErrorReason = $SettingErrorReason; - $this->SizeLimitErrorReason = $SizeLimitErrorReason; - $this->StatsQueryErrorReason = $StatsQueryErrorReason; - $this->StringLengthErrorReason = $StringLengthErrorReason; - $this->TargetErrorReason = $TargetErrorReason; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Bid", false)) { - /** - * Represents a bid of a certain amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bid { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bid"; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($amount = null) { - $this->amount = $amount; - } - - } -} - -if (!class_exists("BidMultiplier", false)) { - /** - * Represents a multiplier to modify a bid. The final value after - * modification is represented by the multiplied bid value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidMultiplier"; - - /** - * @access public - * @var double - */ - public $multiplier; - - /** - * @access public - * @var Bid - */ - public $multipliedBid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($multiplier = null, $multipliedBid = null) { - $this->multiplier = $multiplier; - $this->multipliedBid = $multipliedBid; - } - - } -} - -if (!class_exists("BiddableAdGroupCriterion", false)) { - /** - * A biddable (positive) criterion in an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddableAdGroupCriterion extends AdGroupCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddableAdGroupCriterion"; - - /** - * @access public - * @var tnsUserStatus - */ - public $userStatus; - - /** - * @access public - * @var tnsSystemServingStatus - */ - public $systemServingStatus; - - /** - * @access public - * @var tnsApprovalStatus - */ - public $approvalStatus; - - /** - * @access public - * @var string[] - */ - public $disapprovalReasons; - - /** - * @access public - * @var string - */ - public $destinationUrl; - - /** - * @access public - * @var BiddableAdGroupCriterionExperimentData - */ - public $experimentData; - - /** - * @access public - * @var Bid - */ - public $firstPageCpc; - - /** - * @access public - * @var Bid - */ - public $topOfPageCpc; - - /** - * @access public - * @var QualityInfo - */ - public $qualityInfo; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userStatus = null, $systemServingStatus = null, $approvalStatus = null, $disapprovalReasons = null, $destinationUrl = null, $experimentData = null, $firstPageCpc = null, $topOfPageCpc = null, $qualityInfo = null, $biddingStrategyConfiguration = null, $bidModifier = null, $adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - parent::__construct(); - $this->userStatus = $userStatus; - $this->systemServingStatus = $systemServingStatus; - $this->approvalStatus = $approvalStatus; - $this->disapprovalReasons = $disapprovalReasons; - $this->destinationUrl = $destinationUrl; - $this->experimentData = $experimentData; - $this->firstPageCpc = $firstPageCpc; - $this->topOfPageCpc = $topOfPageCpc; - $this->qualityInfo = $qualityInfo; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->bidModifier = $bidModifier; - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("BiddableAdGroupCriterionExperimentData", false)) { - /** - * Data associated with an advertiser experiment for this {@link BiddableAdGroupCriterion}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddableAdGroupCriterionExperimentData { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddableAdGroupCriterionExperimentData"; - - /** - * @access public - * @var integer - */ - public $experimentId; - - /** - * @access public - * @var tnsExperimentDeltaStatus - */ - public $experimentDeltaStatus; - - /** - * @access public - * @var tnsExperimentDataStatus - */ - public $experimentDataStatus; - - /** - * @access public - * @var AdGroupCriterionExperimentBidMultiplier - */ - public $experimentBidMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($experimentId = null, $experimentDeltaStatus = null, $experimentDataStatus = null, $experimentBidMultiplier = null) { - $this->experimentId = $experimentId; - $this->experimentDeltaStatus = $experimentDeltaStatus; - $this->experimentDataStatus = $experimentDataStatus; - $this->experimentBidMultiplier = $experimentBidMultiplier; - } - - } -} - -if (!class_exists("BiddingError", false)) { - /** - * Represents bidding errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError"; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingErrors", false)) { - /** - * Represents error codes for bidding strategy entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrors extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors"; - - /** - * @access public - * @var tnsBiddingErrorsReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BiddingScheme", false)) { - /** - * Base class for all bidding schemes. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingScheme"; - - /** - * @access public - * @var string - */ - public $BiddingSchemeType; - private $_parameterMap = array( - "BiddingScheme.Type" => "BiddingSchemeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BiddingStrategyConfiguration", false)) { - /** - * Encapsulates the information about bids and bidding strategies. - * - * Bidding Strategy can be set on campaigns, ad groups or ad group criteria. - * A bidding strategy can be set using one of the following: - *
    - *
  • {@linkplain BiddingStrategyConfiguration#biddingScheme bidding scheme}
  • - *
  • {@linkplain BiddingStrategyConfiguration#biddingStrategyType bidding strategy type}
  • - *
  • {@linkplain BiddingStrategyConfiguration#biddingStrategyId bidding strategy ID} for - * flexible bid strategies.
  • - *
- * If the bidding strategy type is used, then schemes are created using default values. - * - * Bids can be set only on ad groups and ad group criteria. They cannot be set on campaigns. - * Multiple bids can be set at the same time. Only the bids that apply to the campaign's - * {@linkplain Campaign#biddingStrategyConfiguration bidding strategy} will be used. - * - * For more information on flexible bidding, visit the - * Help Center. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyConfiguration { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyConfiguration"; - - /** - * @access public - * @var integer - */ - public $biddingStrategyId; - - /** - * @access public - * @var string - */ - public $biddingStrategyName; - - /** - * @access public - * @var tnsBiddingStrategyType - */ - public $biddingStrategyType; - - /** - * @access public - * @var tnsBiddingStrategySource - */ - public $biddingStrategySource; - - /** - * @access public - * @var BiddingScheme - */ - public $biddingScheme; - - /** - * @access public - * @var Bids[] - */ - public $bids; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($biddingStrategyId = null, $biddingStrategyName = null, $biddingStrategyType = null, $biddingStrategySource = null, $biddingScheme = null, $bids = null) { - $this->biddingStrategyId = $biddingStrategyId; - $this->biddingStrategyName = $biddingStrategyName; - $this->biddingStrategyType = $biddingStrategyType; - $this->biddingStrategySource = $biddingStrategySource; - $this->biddingScheme = $biddingScheme; - $this->bids = $bids; - } - - } -} - -if (!class_exists("BiddingTransitionError", false)) { - /** - * Bidding transition errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingTransitionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingTransitionError"; - - /** - * @access public - * @var tnsBiddingTransitionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Bids", false)) { - /** - * Base class for all bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Bids"; - - /** - * @access public - * @var string - */ - public $BidsType; - private $_parameterMap = array( - "Bids.Type" => "BidsType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BidsType = null) { - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("BillingSummary", false)) { - /** - * Represents the billing summary of the job that provides the overall cost of - * the job's operations, i.e., for the work done by the job. This - * therefore excludes the cost of operating on the job itself - setting up the - * job, polling for its status, retrieving the result, etc. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BillingSummary { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BillingSummary"; - - /** - * @access public - * @var integer - */ - public $numOperations; - - /** - * @access public - * @var integer - */ - public $numUnits; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($numOperations = null, $numUnits = null) { - $this->numOperations = $numOperations; - $this->numUnits = $numUnits; - } - - } -} - -if (!class_exists("Budget", false)) { - /** - * Budgets are used for managing the amount of money spent on AdWords. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Budget { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget"; - - /** - * @access public - * @var integer - */ - public $budgetId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsBudgetBudgetPeriod - */ - public $period; - - /** - * @access public - * @var Money - */ - public $amount; - - /** - * @access public - * @var tnsBudgetBudgetDeliveryMethod - */ - public $deliveryMethod; - - /** - * @access public - * @var integer - */ - public $referenceCount; - - /** - * @access public - * @var boolean - */ - public $isExplicitlyShared; - - /** - * @access public - * @var tnsBudgetBudgetStatus - */ - 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($budgetId = null, $name = null, $period = null, $amount = null, $deliveryMethod = null, $referenceCount = null, $isExplicitlyShared = null, $status = null) { - $this->budgetId = $budgetId; - $this->name = $name; - $this->period = $period; - $this->amount = $amount; - $this->deliveryMethod = $deliveryMethod; - $this->referenceCount = $referenceCount; - $this->isExplicitlyShared = $isExplicitlyShared; - $this->status = $status; - } - - } -} - -if (!class_exists("BudgetError", false)) { - /** - * A list of all the error codes being used by the common budget domain package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError"; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetOptimizerBiddingScheme", false)) { - /** - * In budget optimizer, Google automatically places bids for the user based on - * their daily/monthly budget. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOptimizerBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("BulkMutateJobError", false)) { - /** - * Bulk mutate job handling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BulkMutateJobError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BulkMutateJobError"; - - /** - * @access public - * @var tnsBulkMutateJobErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BulkMutateJobPolicy", false)) { - /** - * A basic job policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BulkMutateJobPolicy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BulkMutateJobPolicy"; - - /** - * @access public - * @var integer[] - */ - public $prerequisiteJobIds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($prerequisiteJobIds = null) { - $this->prerequisiteJobIds = $prerequisiteJobIds; - } - - } -} - -if (!class_exists("Campaign", false)) { - /** - * Data representing an AdWords campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Campaign { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Campaign"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsCampaignStatus - */ - public $status; - - /** - * @access public - * @var tnsServingStatus - */ - public $servingStatus; - - /** - * @access public - * @var string - */ - public $startDate; - - /** - * @access public - * @var string - */ - public $endDate; - - /** - * @access public - * @var Budget - */ - public $budget; - - /** - * @access public - * @var ConversionOptimizerEligibility - */ - public $conversionOptimizerEligibility; - - /** - * @access public - * @var tnsAdServingOptimizationStatus - */ - public $adServingOptimizationStatus; - - /** - * @access public - * @var FrequencyCap - */ - public $frequencyCap; - - /** - * @access public - * @var Setting[] - */ - public $settings; - - /** - * @access public - * @var tnsAdvertisingChannelType - */ - public $advertisingChannelType; - - /** - * @access public - * @var NetworkSetting - */ - public $networkSetting; - - /** - * @access public - * @var BiddingStrategyConfiguration - */ - public $biddingStrategyConfiguration; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var boolean - */ - public $displaySelect; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $servingStatus = null, $startDate = null, $endDate = null, $budget = null, $conversionOptimizerEligibility = null, $adServingOptimizationStatus = null, $frequencyCap = null, $settings = null, $advertisingChannelType = null, $networkSetting = null, $biddingStrategyConfiguration = null, $forwardCompatibilityMap = null, $displaySelect = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->servingStatus = $servingStatus; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->budget = $budget; - $this->conversionOptimizerEligibility = $conversionOptimizerEligibility; - $this->adServingOptimizationStatus = $adServingOptimizationStatus; - $this->frequencyCap = $frequencyCap; - $this->settings = $settings; - $this->advertisingChannelType = $advertisingChannelType; - $this->networkSetting = $networkSetting; - $this->biddingStrategyConfiguration = $biddingStrategyConfiguration; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->displaySelect = $displaySelect; - } - - } -} - -if (!class_exists("CampaignAdExtension", false)) { - /** - * Represents a campaign level ad extension. A campaign ad extension specifies - * a campaign and an ad extension which can extend any ad under that campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var AdExtension - */ - public $adExtension; - - /** - * @access public - * @var tnsCampaignAdExtensionStatus - */ - public $status; - - /** - * @access public - * @var tnsCampaignAdExtensionApprovalStatus - */ - public $approvalStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adExtension = null, $status = null, $approvalStatus = null) { - $this->campaignId = $campaignId; - $this->adExtension = $adExtension; - $this->status = $status; - $this->approvalStatus = $approvalStatus; - } - - } -} - -if (!class_exists("CampaignAdExtensionError", false)) { - /** - * CampaignAdExtension errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionError"; - - /** - * @access public - * @var tnsCampaignAdExtensionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignCriterion", false)) { - /** - * Represents a campaign level criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterion"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var boolean - */ - public $isNegative; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var String_StringMapEntry[] - */ - public $forwardCompatibilityMap; - - /** - * @access public - * @var string - */ - public $CampaignCriterionType; - private $_parameterMap = array( - "CampaignCriterion.Type" => "CampaignCriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $isNegative = null, $criterion = null, $bidModifier = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { - $this->campaignId = $campaignId; - $this->isNegative = $isNegative; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->CampaignCriterionType = $CampaignCriterionType; - } - - } -} - -if (!class_exists("CampaignCriterionError", false)) { - /** - * Base error class for Campaign Criterion Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionError"; - - /** - * @access public - * @var tnsCampaignCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CampaignError", false)) { - /** - * Base error class for Campaign Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignError"; - - /** - * @access public - * @var tnsCampaignErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingScheme", false)) { - /** - * Conversion optimizer bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - *

{@code pricingMode} currently defaults to {@code CLICKS} and - * cannot be changed.

- * - *

Note that campaigns must meet - * specific eligibility requirements before they can use the - * ConversionOptimizer bidding strategy.

- * - *

For more information on conversion optimizer, visit the - * Conversion Optimizer help center.

- * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme"; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemePricingMode - */ - public $pricingMode; - - /** - * @access public - * @var tnsConversionOptimizerBiddingSchemeBidType - */ - public $bidType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($pricingMode = null, $bidType = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->pricingMode = $pricingMode; - $this->bidType = $bidType; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ConversionOptimizerEligibility", false)) { - /** - * Eligibility data for Campaign to transition to Conversion Optimizer - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerEligibility { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerEligibility"; - - /** - * @access public - * @var boolean - */ - public $eligible; - - /** - * @access public - * @var tnsConversionOptimizerEligibilityRejectionReason[] - */ - public $rejectionReasons; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($eligible = null, $rejectionReasons = null) { - $this->eligible = $eligible; - $this->rejectionReasons = $rejectionReasons; - } - - } -} - -if (!class_exists("CpaBid", false)) { - /** - * CPA Bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpaBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpcBid", false)) { - /** - * Manual click based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpcBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpcBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var Money - */ - public $contentBid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpcBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $contentBid = null, $cpcBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->contentBid = $contentBid; - $this->cpcBidSource = $cpcBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("CpmBid", false)) { - /** - * Manual impression based bids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CpmBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CpmBid"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $cpmBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $cpmBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->cpmBidSource = $cpmBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * Error class used for reporting criteria related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionParameter", false)) { - /** - * Base type of criterion parameters. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionParameter"; - - /** - * @access public - * @var string - */ - public $CriterionParameterType; - private $_parameterMap = array( - "CriterionParameter.Type" => "CriterionParameterType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($CriterionParameterType = null) { - $this->CriterionParameterType = $CriterionParameterType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DeprecatedAd", false)) { - /** - * Represents a deprecated ad. - * - * Deprecated ads can be deleted, but cannot be created. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DeprecatedAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DeprecatedAd"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsDeprecatedAdType - */ - 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($name = null, $type = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->name = $name; - $this->type = $type; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("Dimensions", false)) { - /** - * Represents a simple height-width dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Dimensions { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Dimensions"; - - /** - * @access public - * @var integer - */ - public $width; - - /** - * @access public - * @var integer - */ - public $height; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->width = $width; - $this->height = $height; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EnhancedCpcBiddingScheme", false)) { - /** - * Enhanced CPC is a bidding strategy that raises your bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less likely. - * - * This bidding scheme does not support criteria level bidding strategy overrides. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EnhancedCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EnhancedCpcBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("EntityAccessDenied", false)) { - /** - * Reports permission problems trying to access an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied"; - - /** - * @access public - * @var tnsEntityAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ExemptionRequest", false)) { - /** - * A request to be exempted from a {@link PolicyViolationError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExemptionRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExemptionRequest"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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) { - $this->key = $key; - } - - } -} - -if (!class_exists("ExperimentError", false)) { - /** - * The error reason represented by an enum. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError"; - - /** - * @access public - * @var tnsExperimentErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedItem", false)) { - /** - * Represents an item in a feed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItem { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItem"; - - /** - * @access public - * @var integer - */ - public $feedId; - - /** - * @access public - * @var integer - */ - public $feedItemId; - - /** - * @access public - * @var tnsFeedItemStatus - */ - public $status; - - /** - * @access public - * @var string - */ - public $startTime; - - /** - * @access public - * @var string - */ - public $endTime; - - /** - * @access public - * @var FeedItemAttributeValue[] - */ - public $attributeValues; - - /** - * @access public - * @var FeedItemValidationDetail[] - */ - public $validationDetails; - - /** - * @access public - * @var FeedItemDevicePreference - */ - public $devicePreference; - - /** - * @access public - * @var FeedItemScheduling - */ - public $scheduling; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedId = null, $feedItemId = null, $status = null, $startTime = null, $endTime = null, $attributeValues = null, $validationDetails = null, $devicePreference = null, $scheduling = null) { - $this->feedId = $feedId; - $this->feedItemId = $feedItemId; - $this->status = $status; - $this->startTime = $startTime; - $this->endTime = $endTime; - $this->attributeValues = $attributeValues; - $this->validationDetails = $validationDetails; - $this->devicePreference = $devicePreference; - $this->scheduling = $scheduling; - } - - } -} - -if (!class_exists("FeedItemAttributeError", false)) { - /** - * Contains validation error details for a set of feed attributes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemAttributeError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemAttributeError"; - - /** - * @access public - * @var integer[] - */ - public $feedAttributeIds; - - /** - * @access public - * @var integer - */ - public $validationErrorCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedAttributeIds = null, $validationErrorCode = null) { - $this->feedAttributeIds = $feedAttributeIds; - $this->validationErrorCode = $validationErrorCode; - } - - } -} - -if (!class_exists("FeedItemAttributeValue", false)) { - /** - * Represents a feed item's value for a particular feed attribute. A feed item's value is - * composed of a collection of these attribute values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemAttributeValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemAttributeValue"; - - /** - * @access public - * @var integer - */ - public $feedAttributeId; - - /** - * @access public - * @var integer - */ - public $integerValue; - - /** - * @access public - * @var double - */ - public $doubleValue; - - /** - * @access public - * @var boolean - */ - public $booleanValue; - - /** - * @access public - * @var string - */ - public $stringValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedAttributeId = null, $integerValue = null, $doubleValue = null, $booleanValue = null, $stringValue = null) { - $this->feedAttributeId = $feedAttributeId; - $this->integerValue = $integerValue; - $this->doubleValue = $doubleValue; - $this->booleanValue = $booleanValue; - $this->stringValue = $stringValue; - } - - } -} - -if (!class_exists("FeedItemDevicePreference", false)) { - /** - * Represents a FeedItem device preference. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemDevicePreference { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemDevicePreference"; - - /** - * @access public - * @var integer - */ - public $devicePreference; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($devicePreference = null) { - $this->devicePreference = $devicePreference; - } - - } -} - -if (!class_exists("FeedItemError", false)) { - /** - * FeedItemService related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemError"; - - /** - * @access public - * @var tnsFeedItemErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FeedItemSchedule", false)) { - /** - * Represents a FeedItem schedule, which specifies a time interval on a given day - * when the feed item may serve. The FeedItemSchedule times are in the account's time zone. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemSchedule { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemSchedule"; - - /** - * @access public - * @var tnsDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $endMinute; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null) { - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - } - - } -} - -if (!class_exists("FeedItemScheduling", false)) { - /** - * Represents a collection of FeedItem schedules specifying all time intervals for which - * the feed item may serve. Any time range not covered by the specified FeedItemSchedules will - * prevent the feed item from serving during those times. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemScheduling { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemScheduling"; - - /** - * @access public - * @var FeedItemSchedule[] - */ - public $feedItemSchedules; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedItemSchedules = null) { - $this->feedItemSchedules = $feedItemSchedules; - } - - } -} - -if (!class_exists("FeedItemValidationDetail", false)) { - /** - * Contains offline-validation and approval results for a given FeedItem and FeedMapping. Each - * validation detail indicates any issues found on the feed item when used in the context - * of the feed mapping. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetail { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail"; - - /** - * @access public - * @var integer - */ - public $feedMappingId; - - /** - * @access public - * @var tnsFeedItemValidationDetailValidationStatus - */ - public $validationStatus; - - /** - * @access public - * @var FeedItemAttributeError[] - */ - public $validationErrors; - - /** - * @access public - * @var tnsFeedItemValidationDetailApprovalStatus - */ - public $approvalStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($feedMappingId = null, $validationStatus = null, $validationErrors = null, $approvalStatus = null) { - $this->feedMappingId = $feedMappingId; - $this->validationStatus = $validationStatus; - $this->validationErrors = $validationErrors; - $this->approvalStatus = $approvalStatus; - } - - } -} - -if (!class_exists("ForwardCompatibilityError", false)) { - /** - * A ForwardComptibilityError represents possible errors when using the forwardCompatibilityMap - * in some of the common services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError"; - - /** - * @access public - * @var tnsForwardCompatibilityErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("FrequencyCap", false)) { - /** - * A frequency cap is the maximum number of times an ad (or some set of ads) can - * be shown to a user over a particular time period. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FrequencyCap { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FrequencyCap"; - - /** - * @access public - * @var integer - */ - public $impressions; - - /** - * @access public - * @var tnsTimeUnit - */ - public $timeUnit; - - /** - * @access public - * @var tnsLevel - */ - public $level; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($impressions = null, $timeUnit = null, $level = null) { - $this->impressions = $impressions; - $this->timeUnit = $timeUnit; - $this->level = $level; - } - - } -} - -if (!class_exists("FeedFunction", false)) { - /** - * Represents a function where its operator is applied to its argument operands - * resulting in a return value. It has the form - * (Operand... Operator Operand...). The type of the return value depends on - * the operator being applied and the type of the operands. - * - *

Operands per function is limited to 20.

- * - *

Here is a code example:

- * - *

-   * 
-   * // For example "feed_attribute == 30" can be represented as:
-   * FeedId feedId = (FeedId of Feed associated with feed_attribute)
-   * FeedAttributeId feedAttributeId = (FeedAttributeId of feed_attribute)
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new FeedAttributeOperand(feedId, feedAttributeId)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(
-   * Arrays.asList((Operand) new ConstantOperand(30L)));
-   * 
-   * // Another example matching on multiple values:
-   * "feed_item_id IN (10, 20, 30)" can be represented as:
-   * 
-   * Function function = new Function();
-   * function.setLhsOperand(
-   * Arrays.asList((Operand) new RequestContextOperand(ContextType.FEED_ITEM_ID)));
-   * function.setOperator(Operator.IN);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new ConstantOperand(10L), new ConstantOperand(20L), new ConstantOperand(30L)));
-   * 
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedFunction { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function"; - - /** - * @access public - * @var tnsFunctionOperator - */ - public $operator; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $lhsOperand; - - /** - * @access public - * @var FunctionArgumentOperand[] - */ - public $rhsOperand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $lhsOperand = null, $rhsOperand = null) { - $this->operator = $operator; - $this->lhsOperand = $lhsOperand; - $this->rhsOperand = $rhsOperand; - } - - } -} - -if (!class_exists("FunctionError", false)) { - /** - * Errors that indicate issues with the function. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError"; - - /** - * @access public - * @var tnsFunctionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Gender", false)) { - /** - * Represents a Gender criterion. - *

A criterion of this type can only be created using an ID. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Gender extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender"; - - /** - * @access public - * @var tnsGenderGenderType - */ - public $genderType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($genderType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->genderType = $genderType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ImageAd", false)) { - /** - * Represents an ImageAd. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ImageAd"; - - /** - * @access public - * @var Image - */ - public $image; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $adToCopyImageFrom; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($image = null, $name = null, $adToCopyImageFrom = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->image = $image; - $this->name = $name; - $this->adToCopyImageFrom = $adToCopyImageFrom; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("ImageError", false)) { - /** - * Error class for errors associated with parsing image data. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IpBlock", false)) { - /** - * Criterion used for IP exclusions. We allow: - * - *

    - *
  • IPv4 and IPv6 addresses
  • - *
  • individual addresses (192.168.0.1)
  • - *
  • masks for individual addresses (192.168.0.1/32)
  • - *
  • masks for Class C networks (192.168.0.1/24)
  • - *
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IpBlock extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IpBlock"; - - /** - * @access public - * @var string - */ - public $ipAddress; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ipAddress = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ipAddress = $ipAddress; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Job", false)) { - /** - * Represents an asynchronous macro unit of work. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Job { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Job"; - - /** - * @access public - * @var ApiErrorReason - */ - public $failureReason; - - /** - * @access public - * @var JobStats - */ - public $stats; - - /** - * @access public - * @var BillingSummary - */ - public $billingSummary; - - /** - * @access public - * @var string - */ - public $JobType; - private $_parameterMap = array( - "Job.Type" => "JobType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($failureReason = null, $stats = null, $billingSummary = null, $JobType = null) { - $this->failureReason = $failureReason; - $this->stats = $stats; - $this->billingSummary = $billingSummary; - $this->JobType = $JobType; - } - - } -} - -if (!class_exists("JobError", false)) { - /** - * Job handling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobError"; - - /** - * @access public - * @var tnsJobErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("JobEvent", false)) { - /** - * An event defined by a status change of a job. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobEvent { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobEvent"; - - /** - * @access public - * @var string - */ - public $dateTime; - - /** - * @access public - * @var string - */ - public $JobEventType; - private $_parameterMap = array( - "JobEvent.Type" => "JobEventType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($dateTime = null, $JobEventType = null) { - $this->dateTime = $dateTime; - $this->JobEventType = $JobEventType; - } - - } -} - -if (!class_exists("JobResult", false)) { - /** - * Represents the result data of a job. This contains both the results of - * successfully processed operations as well as errors returned by failed - * operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobResult { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobResult"; - - /** - * @access public - * @var SimpleMutateResult - */ - public $SimpleMutateResult; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SimpleMutateResult = null) { - $this->SimpleMutateResult = $SimpleMutateResult; - } - - } -} - -if (!class_exists("JobSelector", false)) { - /** - * For selecting jobs whose information will be returned from a get method call - * of a job service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobSelector"; - - /** - * @access public - * @var boolean - */ - public $includeHistory; - - /** - * @access public - * @var boolean - */ - public $includeStats; - - /** - * @access public - * @var string - */ - public $JobSelectorType; - private $_parameterMap = array( - "JobSelector.Type" => "JobSelectorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($includeHistory = null, $includeStats = null, $JobSelectorType = null) { - $this->includeHistory = $includeHistory; - $this->includeStats = $includeStats; - $this->JobSelectorType = $JobSelectorType; - } - - } -} - -if (!class_exists("JobStats", false)) { - /** - * Job-handling statistics. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobStats { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobStats"; - - /** - * @access public - * @var integer - */ - public $progressPercent; - - /** - * @access public - * @var integer - */ - public $pendingTimeMillis; - - /** - * @access public - * @var integer - */ - public $processingTimeMillis; - - /** - * @access public - * @var string - */ - public $JobStatsType; - private $_parameterMap = array( - "JobStats.Type" => "JobStatsType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($progressPercent = null, $pendingTimeMillis = null, $processingTimeMillis = null, $JobStatsType = null) { - $this->progressPercent = $progressPercent; - $this->pendingTimeMillis = $pendingTimeMillis; - $this->processingTimeMillis = $processingTimeMillis; - $this->JobStatsType = $JobStatsType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("LocationExtension", false)) { - /** - * Location based ad extension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationExtension extends AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationExtension"; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var base64Binary - */ - public $encodedLocation; - - /** - * @access public - * @var string - */ - public $companyName; - - /** - * @access public - * @var string - */ - public $phoneNumber; - - /** - * @access public - * @var tnsLocationExtensionSource - */ - public $source; - - /** - * @access public - * @var integer - */ - public $iconMediaId; - - /** - * @access public - * @var integer - */ - public $imageMediaId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($address = null, $geoPoint = null, $encodedLocation = null, $companyName = null, $phoneNumber = null, $source = null, $iconMediaId = null, $imageMediaId = null, $id = null, $AdExtensionType = null) { - parent::__construct(); - $this->address = $address; - $this->geoPoint = $geoPoint; - $this->encodedLocation = $encodedLocation; - $this->companyName = $companyName; - $this->phoneNumber = $phoneNumber; - $this->source = $source; - $this->iconMediaId = $iconMediaId; - $this->imageMediaId = $imageMediaId; - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("LocationOverrideInfo", false)) { - /** - * Represents override info for ad level LocationExtension overrides. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationOverrideInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationOverrideInfo"; - - /** - * @access public - * @var integer - */ - public $radius; - - /** - * @access public - * @var tnsLocationOverrideInfoRadiusUnits - */ - public $radiusUnits; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($radius = null, $radiusUnits = null) { - $this->radius = $radius; - $this->radiusUnits = $radiusUnits; - } - - } -} - -if (!class_exists("LocationSyncExtension", false)) { - /** - * Local business center(LBC) sync extension that ties a LBC account with a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationSyncExtension extends AdExtension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationSyncExtension"; - - /** - * @access public - * @var string - */ - public $email; - - /** - * @access public - * @var string - */ - public $authToken; - - /** - * @access public - * @var OAuthInfo - */ - public $oAuthInfo; - - /** - * @access public - * @var integer - */ - public $iconMediaId; - - /** - * @access public - * @var boolean - */ - public $shouldSyncUrl; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($email = null, $authToken = null, $oAuthInfo = null, $iconMediaId = null, $shouldSyncUrl = null, $id = null, $AdExtensionType = null) { - parent::__construct(); - $this->email = $email; - $this->authToken = $authToken; - $this->oAuthInfo = $oAuthInfo; - $this->iconMediaId = $iconMediaId; - $this->shouldSyncUrl = $shouldSyncUrl; - $this->id = $id; - $this->AdExtensionType = $AdExtensionType; - } - - } -} - -if (!class_exists("ManualCPCAdGroupCriterionExperimentBidMultiplier", false)) { - /** - * AdGroupCriterion level bid multiplier used in manual CPC bidding strategies. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPCAdGroupCriterionExperimentBidMultiplier extends AdGroupCriterionExperimentBidMultiplier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPCAdGroupCriterionExperimentBidMultiplier"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpcMultiplier; - - /** - * @access public - * @var tnsMultiplierSource - */ - public $multiplierSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpcMultiplier = null, $multiplierSource = null, $AdGroupCriterionExperimentBidMultiplierType = null) { - parent::__construct(); - $this->maxCpcMultiplier = $maxCpcMultiplier; - $this->multiplierSource = $multiplierSource; - $this->AdGroupCriterionExperimentBidMultiplierType = $AdGroupCriterionExperimentBidMultiplierType; - } - - } -} - -if (!class_exists("ManualCPCAdGroupExperimentBidMultipliers", false)) { - /** - * Adgroup level bid multipliers used in manual CPC bidding strategies. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPCAdGroupExperimentBidMultipliers extends AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPCAdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpcMultiplier; - - /** - * @access public - * @var BidMultiplier - */ - public $maxContentCpcMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpcMultiplier = null, $maxContentCpcMultiplier = null, $AdGroupExperimentBidMultipliersType = null) { - parent::__construct(); - $this->maxCpcMultiplier = $maxCpcMultiplier; - $this->maxContentCpcMultiplier = $maxContentCpcMultiplier; - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("ManualCPMAdGroupExperimentBidMultipliers", false)) { - /** - * Adgroup level bid multipliers used in manual CPM bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCPMAdGroupExperimentBidMultipliers extends AdGroupExperimentBidMultipliers { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCPMAdGroupExperimentBidMultipliers"; - - /** - * @access public - * @var BidMultiplier - */ - public $maxCpmMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxCpmMultiplier = null, $AdGroupExperimentBidMultipliersType = null) { - parent::__construct(); - $this->maxCpmMultiplier = $maxCpmMultiplier; - $this->AdGroupExperimentBidMultipliersType = $AdGroupExperimentBidMultipliersType; - } - - } -} - -if (!class_exists("ManualCpcBiddingScheme", false)) { - /** - * Manual click based bidding where user pays per click. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpcBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpcBiddingScheme"; - - /** - * @access public - * @var boolean - */ - public $enhancedCpcEnabled; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($enhancedCpcEnabled = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->enhancedCpcEnabled = $enhancedCpcEnabled; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("ManualCpmBiddingScheme", false)) { - /** - * Manual impression based bidding where user pays per thousand impressions. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ManualCpmBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ManualCpmBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("Media", false)) { - /** - * Represents some kind of media. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media"; - - /** - * @access public - * @var integer - */ - public $mediaId; - - /** - * @access public - * @var tnsMediaMediaType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $referenceId; - - /** - * @access public - * @var Media_Size_DimensionsMapEntry[] - */ - public $dimensions; - - /** - * @access public - * @var Media_Size_StringMapEntry[] - */ - public $urls; - - /** - * @access public - * @var tnsMediaMimeType - */ - public $mimeType; - - /** - * @access public - * @var string - */ - public $sourceUrl; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $fileSize; - - /** - * @access public - * @var string - */ - public $creationTime; - - /** - * @access public - * @var string - */ - public $MediaType; - private $_parameterMap = array( - "Media.Type" => "MediaType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("MediaError", false)) { - /** - * Error class for media related errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError"; - - /** - * @access public - * @var tnsMediaErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Media_Size_DimensionsMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type Dimensions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_DimensionsMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_DimensionsMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - public $key; - - /** - * @access public - * @var Dimensions - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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("Media_Size_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Size - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Media_Size_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media_Size_StringMapEntry"; - - /** - * @access public - * @var tnsMediaSize - */ - 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("MobileAd", false)) { - /** - * Represents a mobile ad. - * - *

- * A mobile ad can contain a click-to-call phone number, a link to a website, - * or both. You specify which features you want by setting certain fields, as - * shown in the following table. For example, to create a click-to-call mobile - * ad, set the fields in the Click-to-call column. A hyphen indicates - * that you should not set the corresponding field. - *

- *

- * For more information, see - * - * Create a mobile ad. - *

- * - * - * - * - * - * - * - * - *
Click-to-call Website Both
headline
- * description
- * mobileCarriers
- * phoneNumber
- * countryCode
- * businessName
- * -
- * -
- * -
- *
headline
- * description
- * mobileCarriers
- * -
- * -
- * -
- * displayUrl
- * destinationUrl
- * markupLanguages
- *
headline
- * description
- * mobileCarriers
- * phoneNumber
- * countryCode
- * businessName
- * displayUrl
- * destinationUrl
- * markupLanguages
- *
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAd"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $description; - - /** - * @access public - * @var tnsMarkupLanguageType[] - */ - public $markupLanguages; - - /** - * @access public - * @var string[] - */ - public $mobileCarriers; - - /** - * @access public - * @var string - */ - public $businessName; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * @access public - * @var string - */ - public $phoneNumber; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($headline = null, $description = null, $markupLanguages = null, $mobileCarriers = null, $businessName = null, $countryCode = null, $phoneNumber = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->headline = $headline; - $this->description = $description; - $this->markupLanguages = $markupLanguages; - $this->mobileCarriers = $mobileCarriers; - $this->businessName = $businessName; - $this->countryCode = $countryCode; - $this->phoneNumber = $phoneNumber; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileDevice", false)) { - /** - * Represents a Mobile Device Criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDevice extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice"; - - /** - * @access public - * @var string - */ - public $deviceName; - - /** - * @access public - * @var string - */ - public $manufacturerName; - - /** - * @access public - * @var tnsMobileDeviceDeviceType - */ - public $deviceType; - - /** - * @access public - * @var string - */ - public $operatingSystemName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($deviceName = null, $manufacturerName = null, $deviceType = null, $operatingSystemName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->deviceName = $deviceName; - $this->manufacturerName = $manufacturerName; - $this->deviceType = $deviceType; - $this->operatingSystemName = $operatingSystemName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileImageAd", false)) { - /** - * Represents a mobile image ad. - * - *

For more information, see - * - * Create a mobile ad.

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileImageAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileImageAd"; - - /** - * @access public - * @var tnsMarkupLanguageType[] - */ - public $markupLanguages; - - /** - * @access public - * @var string[] - */ - public $mobileCarriers; - - /** - * @access public - * @var Image - */ - public $image; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($markupLanguages = null, $mobileCarriers = null, $image = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->markupLanguages = $markupLanguages; - $this->mobileCarriers = $mobileCarriers; - $this->image = $image; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NegativeAdGroupCriterion", false)) { - /** - * A negative criterion in an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeAdGroupCriterion extends AdGroupCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NegativeAdGroupCriterion"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $criterionUse = null, $criterion = null, $forwardCompatibilityMap = null, $AdGroupCriterionType = null) { - parent::__construct(); - $this->adGroupId = $adGroupId; - $this->criterionUse = $criterionUse; - $this->criterion = $criterion; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->AdGroupCriterionType = $AdGroupCriterionType; - } - - } -} - -if (!class_exists("NegativeCampaignCriterion", false)) { - /** - * A negative campaign criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeCampaignCriterion extends CampaignCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NegativeCampaignCriterion"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $isNegative = null, $criterion = null, $bidModifier = null, $forwardCompatibilityMap = null, $CampaignCriterionType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->isNegative = $isNegative; - $this->criterion = $criterion; - $this->bidModifier = $bidModifier; - $this->forwardCompatibilityMap = $forwardCompatibilityMap; - $this->CampaignCriterionType = $CampaignCriterionType; - } - - } -} - -if (!class_exists("NetworkSetting", false)) { - /** - * Network settings for a Campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NetworkSetting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NetworkSetting"; - - /** - * @access public - * @var boolean - */ - public $targetGoogleSearch; - - /** - * @access public - * @var boolean - */ - public $targetSearchNetwork; - - /** - * @access public - * @var boolean - */ - public $targetContentNetwork; - - /** - * @access public - * @var boolean - */ - public $targetPartnerSearchNetwork; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetGoogleSearch = null, $targetSearchNetwork = null, $targetContentNetwork = null, $targetPartnerSearchNetwork = null) { - $this->targetGoogleSearch = $targetGoogleSearch; - $this->targetSearchNetwork = $targetSearchNetwork; - $this->targetContentNetwork = $targetContentNetwork; - $this->targetPartnerSearchNetwork = $targetPartnerSearchNetwork; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * Error associated with creation of new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OAuthInfo", false)) { - /** - * Data used for authorization using OAuth. - * For more information about OAuth, see: - * {@link "https://developers.google.com/accounts/docs/OAuth2"} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OAuthInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OAuthInfo"; - - /** - * @access public - * @var string - */ - public $httpMethod; - - /** - * @access public - * @var string - */ - public $httpRequestUrl; - - /** - * @access public - * @var string - */ - public $httpAuthorizationHeader; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($httpMethod = null, $httpRequestUrl = null, $httpAuthorizationHeader = null) { - $this->httpMethod = $httpMethod; - $this->httpRequestUrl = $httpRequestUrl; - $this->httpAuthorizationHeader = $httpAuthorizationHeader; - } - - } -} - -if (!class_exists("FunctionArgumentOperand", false)) { - /** - * An operand that can be used in a function expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionArgumentOperand"; - - /** - * @access public - * @var string - */ - public $FunctionArgumentOperandType; - private $_parameterMap = array( - "FunctionArgumentOperand.Type" => "FunctionArgumentOperandType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FunctionArgumentOperandType = null) { - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Operand", false)) { - /** - * A marker interface for entities that can be operated upon in mutate - * operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operand"; - - /** - * @access public - * @var AdExtensionOverride - */ - public $AdExtensionOverride; - - /** - * @access public - * @var AdGroupAd - */ - public $AdGroupAd; - - /** - * @access public - * @var AdGroupBidModifier - */ - public $AdGroupBidModifier; - - /** - * @access public - * @var AdGroupCriterion - */ - public $AdGroupCriterion; - - /** - * @access public - * @var AdGroup - */ - public $AdGroup; - - /** - * @access public - * @var Ad - */ - public $Ad; - - /** - * @access public - * @var Budget - */ - public $Budget; - - /** - * @access public - * @var CampaignAdExtension - */ - public $CampaignAdExtension; - - /** - * @access public - * @var CampaignCriterion - */ - public $CampaignCriterion; - - /** - * @access public - * @var Campaign - */ - public $Campaign; - - /** - * @access public - * @var FeedItem - */ - public $FeedItem; - - /** - * @access public - * @var Job - */ - public $Job; - - /** - * @access public - * @var Media - */ - public $Media; - - /** - * @access public - * @var PlaceHolder - */ - public $PlaceHolder; - - /** - * @access public - * @var TargetList - */ - public $TargetList; - - /** - * @access public - * @var Target - */ - public $Target; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AdExtensionOverride = null, $AdGroupAd = null, $AdGroupBidModifier = null, $AdGroupCriterion = null, $AdGroup = null, $Ad = null, $Budget = null, $CampaignAdExtension = null, $CampaignCriterion = null, $Campaign = null, $FeedItem = null, $Job = null, $Media = null, $PlaceHolder = null, $TargetList = null, $Target = null) { - $this->AdExtensionOverride = $AdExtensionOverride; - $this->AdGroupAd = $AdGroupAd; - $this->AdGroupBidModifier = $AdGroupBidModifier; - $this->AdGroupCriterion = $AdGroupCriterion; - $this->AdGroup = $AdGroup; - $this->Ad = $Ad; - $this->Budget = $Budget; - $this->CampaignAdExtension = $CampaignAdExtension; - $this->CampaignCriterion = $CampaignCriterion; - $this->Campaign = $Campaign; - $this->FeedItem = $FeedItem; - $this->Job = $Job; - $this->Media = $Media; - $this->PlaceHolder = $PlaceHolder; - $this->TargetList = $TargetList; - $this->Target = $Target; - } - - } -} - -if (!class_exists("OperatingSystemVersion", false)) { - /** - * Represents an Operating System Version Criterion. - * View the complete - * list of available mobile platforms. You can also get the list from - * {@link ConstantDataService#getOperatingSystemVersionCriterion ConstantDataService}. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersion extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $osMajorVersion; - - /** - * @access public - * @var integer - */ - public $osMinorVersion; - - /** - * @access public - * @var tnsOperatingSystemVersionOperatorType - */ - public $operatorType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $osMajorVersion = null, $osMinorVersion = null, $operatorType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->osMajorVersion = $osMajorVersion; - $this->osMinorVersion = $osMinorVersion; - $this->operatorType = $operatorType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OverrideInfo", false)) { - /** - * Represents additional override info with which to augment the override - * extension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OverrideInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OverrideInfo"; - - /** - * @access public - * @var LocationOverrideInfo - */ - public $LocationOverrideInfo; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($LocationOverrideInfo = null) { - $this->LocationOverrideInfo = $LocationOverrideInfo; - } - - } -} - -if (!class_exists("PageOnePromotedBiddingScheme", false)) { - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme"; - - /** - * @access public - * @var tnsPageOnePromotedBiddingSchemeStrategyGoal - */ - public $strategyGoal; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var double - */ - public $bidModifier; - - /** - * @access public - * @var boolean - */ - public $bidChangesForRaisesOnly; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenBudgetConstained; - - /** - * @access public - * @var boolean - */ - public $raiseBidWhenLowQualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($strategyGoal = null, $bidCeiling = null, $bidModifier = null, $bidChangesForRaisesOnly = null, $raiseBidWhenBudgetConstained = null, $raiseBidWhenLowQualityScore = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->strategyGoal = $strategyGoal; - $this->bidCeiling = $bidCeiling; - $this->bidModifier = $bidModifier; - $this->bidChangesForRaisesOnly = $bidChangesForRaisesOnly; - $this->raiseBidWhenBudgetConstained = $raiseBidWhenBudgetConstained; - $this->raiseBidWhenLowQualityScore = $raiseBidWhenLowQualityScore; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PercentCpaBid", false)) { - /** - * Percentage CPA based bidding where user pays a percent of conversions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBid extends Bids { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBid"; - - /** - * @access public - * @var integer - */ - public $bid; - - /** - * @access public - * @var tnsBidSource - */ - public $percentCpaBidSource; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $percentCpaBidSource = null, $BidsType = null) { - parent::__construct(); - $this->bid = $bid; - $this->percentCpaBidSource = $percentCpaBidSource; - $this->BidsType = $BidsType; - } - - } -} - -if (!class_exists("PercentCpaBiddingScheme", false)) { - /** - * Percentage CPA based bidding scheme attributes where user pays a percent of conversions. - * This bidding strategy is available only to some advertisers. - *

A campaign can only be created with PercentCPA bidding strategy. Existing - * campaigns with a different bidding strategy cannot be transitioned to PercentCPA. - *

Similarly, once created as a PercentCPA, a campaign cannot be transitioned to - * any other bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PercentCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PercentCpaBiddingScheme"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($BiddingSchemeType = null) { - parent::__construct(); - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("PlaceHolder", false)) { - /** - * A place holder for a result which is not available. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlaceHolder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlaceHolder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("PlacesOfInterestOperand", false)) { - /** - * This operand specifies a place of interest category for semantic targeting. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacesOfInterestOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlacesOfInterestOperand"; - - /** - * @access public - * @var tnsPlacesOfInterestOperandCategory - */ - public $category; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($category = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->category = $category; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("Platform", false)) { - /** - * Represents Platform criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Platform extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Platform"; - - /** - * @access public - * @var string - */ - public $platformName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($platformName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->platformName = $platformName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("PolicyViolationError", false)) { - /** - * Represents violations of a single policy by some text in a field. - * - * Violations of a single policy by the same string in multiple places - * within a field is reported in one instance of this class and only one - * exemption needs to be filed. - * Violations of a single policy by two different strings is reported - * as two separate instances of this class. - * - * e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it - * would be represented by one instance. If the ad also contains 'INC' which - * also violates 'capitalization' it would be represented in a separate - * instance. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; - - /** - * @access public - * @var string - */ - public $externalPolicyUrl; - - /** - * @access public - * @var string - */ - public $externalPolicyDescription; - - /** - * @access public - * @var boolean - */ - public $isExemptable; - - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationErrorPart", false)) { - /** - * Points to a substring within an ad field or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $length = null) { - $this->index = $index; - $this->length = $length; - } - - } -} - -if (!class_exists("PolicyViolationKey", false)) { - /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; - - /** - * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductAd", false)) { - /** - * Represents a product ad (known as a product - * listing ad in the AdWords user interface). A product ad displays - * product data (managed using the Google Merchant Center) that is - * pulled from the Google base product feed specified in the parent campaign's - * {@linkplain ShoppingSetting shopping setting}. - * - *

Caution: Product ads do not use {@link #url url} or - * {@link #displayUrl displayUrl}; setting these fields on a product ad will - * cause an error.

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAd"; - - /** - * @access public - * @var string - */ - public $promotionLine; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($promotionLine = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->promotionLine = $promotionLine; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductDimension", false)) { - /** - * Dimension by which to subdivide or filter products. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimension"; - - /** - * @access public - * @var string - */ - public $ProductDimensionType; - private $_parameterMap = array( - "ProductDimension.Type" => "ProductDimensionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ProductDimensionType = null) { - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductOfferId", false)) { - /** - * An offer ID as specified by the merchant. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductOfferId extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductOfferId"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductPartition", false)) { - /** - * Product partition (product group) in a shopping campaign. Depending on its type, a product - * partition subdivides products along some product dimension, specifies a bid for products, or - * excludes products from bidding. - * - *

Inner nodes of a product partition hierarchy are always subdivisions. Each child is linked to - * the subdivision via the {@code parentCriterionId} and defines a {@code caseValue}. For all - * children of the same subdivision, the {@code caseValue}s must be mutually different but - * instances of the same class. - * - * To create a subdivision and child node in the same API request, they should refer to each other - * using temporary criterion IDs in the {@code parentCriterionId} of the child, and ID field of the - * subdivision. Temporary IDs are specified by using any negative integer. Temporary IDs only exist - * within the scope of a single API request. The API will assign real criterion IDs, and replace - * the temporary values, and the API response will reflect this. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductPartition extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductPartition"; - - /** - * @access public - * @var tnsProductPartitionType - */ - public $partitionType; - - /** - * @access public - * @var integer - */ - public $parentCriterionId; - - /** - * @access public - * @var ProductDimension - */ - public $caseValue; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($partitionType = null, $parentCriterionId = null, $caseValue = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->partitionType = $partitionType; - $this->parentCriterionId = $parentCriterionId; - $this->caseValue = $caseValue; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductSalesChannel", false)) { - /** - * Defines the sales channel of the shopping products to be advertised. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductSalesChannel extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductSalesChannel"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - parent::__construct(); - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductScope", false)) { - /** - * Scope of products. Contains a set of product dimensions, all of which a product has to match to - * be included in the campaign. These product dimensions must have a value; the "everything else" - * case without a value is not allowed. - * - *

If there is no {@code ProductScope}, all products are included in the campaign. If a campaign - * has more than one {@code ProductScope}, products are included as long as they match any. - * Campaigns of {@link AdvertisingChannelType#SHOPPING} can have at most one {@code ProductScope}. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductScope extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductScope"; - - /** - * @access public - * @var ProductDimension[] - */ - public $dimensions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->dimensions = $dimensions; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductType", false)) { - /** - * One element of a product type string at a certain level. Top-level product types are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the product type. All cases of the the same - * subdivision must have the same dimension type (product type level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductType extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductType"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductTypeFull", false)) { - /** - * A full product type string. Category of the product according to the merchant's own - * classification. Example: - * - *

{@code "Home & Garden > Kitchen & Dining > Kitchen Appliances > Refrigerators"}
- * - *

Not supported by campaigns of {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductTypeFull extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductTypeFull"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("Proximity", false)) { - /** - * Represents a Proximity Criterion. - * - * A proximity is an area within a certain radius of a point with the center point being described - * by a lat/long pair. The caller may also alternatively provide address fields which will be - * geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not - * used for calculating the lat/long to target. - *

- * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Proximity extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var tnsProximityDistanceUnits - */ - public $radiusDistanceUnits; - - /** - * @access public - * @var double - */ - public $radiusInUnits; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("QualityInfo", false)) { - /** - * Container for criterion quality information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QualityInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QualityInfo"; - - /** - * @access public - * @var boolean - */ - public $isKeywordAdRelevanceAcceptable; - - /** - * @access public - * @var boolean - */ - public $isLandingPageQualityAcceptable; - - /** - * @access public - * @var boolean - */ - public $isLandingPageLatencyAcceptable; - - /** - * @access public - * @var integer - */ - public $qualityScore; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($isKeywordAdRelevanceAcceptable = null, $isLandingPageQualityAcceptable = null, $isLandingPageLatencyAcceptable = null, $qualityScore = null) { - $this->isKeywordAdRelevanceAcceptable = $isKeywordAdRelevanceAcceptable; - $this->isLandingPageQualityAcceptable = $isLandingPageQualityAcceptable; - $this->isLandingPageLatencyAcceptable = $isLandingPageLatencyAcceptable; - $this->qualityScore = $qualityScore; - } - - } -} - -if (!class_exists("QueryError", false)) { - /** - * A QueryError represents possible errors for query parsing and execution. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError"; - - /** - * @access public - * @var tnsQueryErrorReason - */ - public $reason; - - /** - * @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($reason = null, $message = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->message = $message; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaError", false)) { - /** - * Errors that are thrown if a quota limit is exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaError"; - - /** - * @access public - * @var tnsQuotaErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $limit = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->limit = $limit; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RichMediaAd", false)) { - /** - * Data associated with a rich media ad. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var Dimensions - */ - public $dimensions; - - /** - * @access public - * @var string - */ - public $snippet; - - /** - * @access public - * @var string - */ - public $impressionBeaconUrl; - - /** - * @access public - * @var integer - */ - public $adDuration; - - /** - * @access public - * @var integer - */ - public $certifiedVendorFormatId; - - /** - * @access public - * @var string - */ - public $sourceUrl; - - /** - * @access public - * @var tnsRichMediaAdRichMediaAdType - */ - public $richMediaAdType; - - /** - * @access public - * @var tnsRichMediaAdAdAttribute[] - */ - public $adAttributes; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->name = $name; - $this->dimensions = $dimensions; - $this->snippet = $snippet; - $this->impressionBeaconUrl = $impressionBeaconUrl; - $this->adDuration = $adDuration; - $this->certifiedVendorFormatId = $certifiedVendorFormatId; - $this->sourceUrl = $sourceUrl; - $this->richMediaAdType = $richMediaAdType; - $this->adAttributes = $adAttributes; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("LocationGroups", false)) { - /** - * Represents a criterion containing a function that when evaluated specifies how to target - * based on the type of the location. These "location groups" are custom, dynamic bundles of - * locations (for instance "High income areas in California" or "Airports in France"). - * - *

Examples:

- * - * For income demographic targeting, we need to specify the income tier and the geo - * which it targets. Areas in California that are in the top national income tier can be - * represented by: - *

-   * Function function = new Function();
-   * function.setLhsOperand(Arrays.asList(
-   * (Operand) new IncomeOperand(IncomeTier.TIER_1));
-   * function.setOperator(Operator.AND);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(21137L))));
-   * 
- * - * For place of interest targeting, we need to specify the place of interest category and the geo - * which it targets. Airports in France can be represented by: - *

-   * Function function = new Function();
-   * function.setLhsOperand(Arrays.asList(
-   * (Operand) new PlacesOfInterestOperand(PlacesOfInterestOperand.Category.AIRPORT));
-   * function.setOperator(Operator.AND);
-   * function.setRhsOperand(Arrays.asList(
-   * (Operand) new GeoTargetOperand(Lists.newArrayList(new CriterionId(2250L))));
-   * 
- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationGroups extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationGroups"; - - /** - * @access public - * @var Function - */ - public $matchingFunction; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($matchingFunction = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->matchingFunction = $matchingFunction; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Setting", false)) { - /** - * Base type for AdWords campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Setting"; - - /** - * @access public - * @var string - */ - public $SettingType; - private $_parameterMap = array( - "Setting.Type" => "SettingType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SettingType = null) { - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("SettingError", false)) { - /** - * Indicates a problem with campaign settings. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError"; - - /** - * @access public - * @var tnsSettingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ShoppingSetting", false)) { - /** - * Setting for shopping campaigns. Defines the universe of products covered by the campaign. - * Encapsulates a merchant ID, sales country, and campaign priority. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ShoppingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ShoppingSetting"; - - /** - * @access public - * @var integer - */ - public $merchantId; - - /** - * @access public - * @var string - */ - public $salesCountry; - - /** - * @access public - * @var integer - */ - public $campaignPriority; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($merchantId = null, $salesCountry = null, $campaignPriority = null, $SettingType = null) { - parent::__construct(); - $this->merchantId = $merchantId; - $this->salesCountry = $salesCountry; - $this->campaignPriority = $campaignPriority; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("SimpleMutateJob", false)) { - /** - * A mutation job, which was submitted using - * {@link MutateJobService#mutate}, and will execute asynchronously - * sometime after submission. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SimpleMutateJob extends Job { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SimpleMutateJob"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsBasicJobStatus - */ - public $status; - - /** - * @access public - * @var JobEvent[] - */ - public $history; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $history = null, $failureReason = null, $stats = null, $billingSummary = null, $JobType = null) { - parent::__construct(); - $this->id = $id; - $this->status = $status; - $this->history = $history; - $this->failureReason = $failureReason; - $this->stats = $stats; - $this->billingSummary = $billingSummary; - $this->JobType = $JobType; - } - - } -} - -if (!class_exists("SimpleMutateResult", false)) { - /** - * The results of a simple mutation job. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SimpleMutateResult { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SimpleMutateResult"; - - /** - * @access public - * @var Operand[] - */ - public $results; - - /** - * @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($results = null, $errors = null) { - $this->results = $results; - $this->errors = $errors; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("String_StringMapEntry", false)) { - /** - * This represents an entry in a map with a key of type String - * and value of type String. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class String_StringMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "String_StringMapEntry"; - - /** - * @access public - * @var string - */ - 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("Target", false)) { - /** - * Target abstract class. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Target { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Target"; - - /** - * @access public - * @var string - */ - public $TargetType; - private $_parameterMap = array( - "Target.Type" => "TargetType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($TargetType = null) { - $this->TargetType = $TargetType; - } - - } -} - -if (!class_exists("TargetCpaBiddingScheme", false)) { - /** - * Target Cpa bidding strategy helps you maximize your return on investment - * (ROI) by automatically getting you the most possible conversions for your budget. - * - * This is similar to the ConversionOptimizerBiddingScheme but does not - * support user-entered AdGroup-level target CPA bids, but rather a strategy-wide - * average CPA target. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetCpaBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetCpaBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetCpaBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $targetCpa; - - /** - * @access public - * @var Money - */ - public $maxCpcBidCeiling; - - /** - * @access public - * @var Money - */ - public $maxCpcBidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetCpa = null, $maxCpcBidCeiling = null, $maxCpcBidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetCpa = $targetCpa; - $this->maxCpcBidCeiling = $maxCpcBidCeiling; - $this->maxCpcBidFloor = $maxCpcBidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetError", false)) { - /** - * A list of all the error codes being used by the common targeting package. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError"; - - /** - * @access public - * @var tnsTargetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TargetList", false)) { - /** - * Targets list abstract class (a list of a given type of targets along with their campaign ID). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetList"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var string - */ - public $TargetListType; - private $_parameterMap = array( - "TargetList.Type" => "TargetListType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $TargetListType = null) { - $this->campaignId = $campaignId; - $this->TargetListType = $TargetListType; - } - - } -} - -if (!class_exists("TargetingSettingDetail", false)) { - /** - * Specifies if criteria of this type group should be used to restrict - * targeting, or if ads can serve anywhere and criteria are only used in - * determining the bid. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingSettingDetail { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetingSettingDetail"; - - /** - * @access public - * @var tnsCriterionTypeGroup - */ - public $criterionTypeGroup; - - /** - * @access public - * @var boolean - */ - public $targetAll; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionTypeGroup = null, $targetAll = null) { - $this->criterionTypeGroup = $criterionTypeGroup; - $this->targetAll = $targetAll; - } - - } -} - -if (!class_exists("TargetRoasBiddingScheme", false)) { - /** - * Target Roas bidding strategy helps you maximize revenue while averaging a specific target - * Return On Average Spend (ROAS). - * - * For example: If TargetRoas is 1.5, the strategy will create as much revenue as possible while - * ensuring that every $1.00 of clicks provides $1.50 in conversion value. - * - *

Note that campaigns must meet specific - * eligibility requirements before they can use the TargetRoasBiddingScheme - * bidding strategy. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetRoasBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetRoasBiddingScheme"; - - /** - * @access public - * @var double - */ - public $targetRoas; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $bidFloor; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetRoas = null, $bidCeiling = null, $bidFloor = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->targetRoas = $targetRoas; - $this->bidCeiling = $bidCeiling; - $this->bidFloor = $bidFloor; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetSpendBiddingScheme", false)) { - /** - * Target Spend bidding scheme, in which Google automatically places - * bids for the user based on their daily/monthly budget or optional - * spend target. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetSpendBiddingScheme extends BiddingScheme { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetSpendBiddingScheme"; - - /** - * @access public - * @var Money - */ - public $bidCeiling; - - /** - * @access public - * @var Money - */ - public $spendTarget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bidCeiling = null, $spendTarget = null, $BiddingSchemeType = null) { - parent::__construct(); - $this->bidCeiling = $bidCeiling; - $this->spendTarget = $spendTarget; - $this->BiddingSchemeType = $BiddingSchemeType; - } - - } -} - -if (!class_exists("TargetingSetting", false)) { - /** - * Setting for targeting related features. - * This is applicable at Campaign and AdGroup level. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetingSetting"; - - /** - * @access public - * @var TargetingSettingDetail[] - */ - public $details; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($details = null, $SettingType = null) { - parent::__construct(); - $this->details = $details; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("TempAdUnionId", false)) { - /** - * Represents the temporary id for an ad union id, which the user can specify. - * The temporary id can be used to group ads together during ad creation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TempAdUnionId extends AdUnionId { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TempAdUnionId"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AdUnionIdType = null) { - parent::__construct(); - $this->id = $id; - $this->AdUnionIdType = $AdUnionIdType; - } - - } -} - -if (!class_exists("TemplateAd", false)) { - /** - * Represents a Display Ad Builder template ad. A template ad is - * composed of a template (specified by its ID) and the data that populates - * the template's fields. For a list of available templates and their required - * fields, see Template Ads. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateAd"; - - /** - * @access public - * @var integer - */ - public $templateId; - - /** - * @access public - * @var AdUnionId - */ - public $adUnionId; - - /** - * @access public - * @var TemplateElement[] - */ - public $templateElements; - - /** - * @access public - * @var Image - */ - public $adAsImage; - - /** - * @access public - * @var Dimensions - */ - public $dimensions; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var integer - */ - public $duration; - - /** - * @access public - * @var integer - */ - public $originAdId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($templateId = null, $adUnionId = null, $templateElements = null, $adAsImage = null, $dimensions = null, $name = null, $duration = null, $originAdId = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->templateId = $templateId; - $this->adUnionId = $adUnionId; - $this->templateElements = $templateElements; - $this->adAsImage = $adAsImage; - $this->dimensions = $dimensions; - $this->name = $name; - $this->duration = $duration; - $this->originAdId = $originAdId; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("TemplateElement", false)) { - /** - * Represents an element in a template. Each template element is composed - * of a list of fields (actual value data). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElement { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElement"; - - /** - * @access public - * @var string - */ - public $uniqueName; - - /** - * @access public - * @var TemplateElementField[] - */ - public $fields; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($uniqueName = null, $fields = null) { - $this->uniqueName = $uniqueName; - $this->fields = $fields; - } - - } -} - -if (!class_exists("TemplateElementField", false)) { - /** - * Represents a field in a template element. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElementField { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElementField"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsTemplateElementFieldType - */ - public $type; - - /** - * @access public - * @var string - */ - public $fieldText; - - /** - * @access public - * @var Media - */ - public $fieldMedia; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $fieldText = null, $fieldMedia = null) { - $this->name = $name; - $this->type = $type; - $this->fieldText = $fieldText; - $this->fieldMedia = $fieldMedia; - } - - } -} - -if (!class_exists("TextAd", false)) { - /** - * Represents a TextAd. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TextAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TextAd"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $description1; - - /** - * @access public - * @var string - */ - public $description2; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($headline = null, $description1 = null, $description2 = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->headline = $headline; - $this->description1 = $description1; - $this->description2 = $description2; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("ThirdPartyRedirectAd", false)) { - /** - * Data associated with rich media extension attributes. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ThirdPartyRedirectAd extends RichMediaAd { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ThirdPartyRedirectAd"; - - /** - * @access public - * @var boolean - */ - public $isCookieTargeted; - - /** - * @access public - * @var boolean - */ - public $isUserInterestTargeted; - - /** - * @access public - * @var boolean - */ - public $isTagged; - - /** - * @access public - * @var tnsVideoType[] - */ - public $videoTypes; - - /** - * @access public - * @var tnsThirdPartyRedirectAdExpandingDirection[] - */ - public $expandingDirections; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($isCookieTargeted = null, $isUserInterestTargeted = null, $isTagged = null, $videoTypes = null, $expandingDirections = null, $name = null, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = null) { - parent::__construct(); - $this->isCookieTargeted = $isCookieTargeted; - $this->isUserInterestTargeted = $isUserInterestTargeted; - $this->isTagged = $isTagged; - $this->videoTypes = $videoTypes; - $this->expandingDirections = $expandingDirections; - $this->name = $name; - $this->dimensions = $dimensions; - $this->snippet = $snippet; - $this->impressionBeaconUrl = $impressionBeaconUrl; - $this->adDuration = $adDuration; - $this->certifiedVendorFormatId = $certifiedVendorFormatId; - $this->sourceUrl = $sourceUrl; - $this->richMediaAdType = $richMediaAdType; - $this->adAttributes = $adAttributes; - } - - } -} - -if (!class_exists("TrackingSetting", false)) { - /** - * Campaign level settings for tracking information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrackingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TrackingSetting"; - - /** - * @access public - * @var string - */ - public $trackingUrl; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($trackingUrl = null, $SettingType = null) { - parent::__construct(); - $this->trackingUrl = $trackingUrl; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Video", false)) { - /** - * Encapsulates a Video media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Video extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Video"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * @access public - * @var string - */ - public $industryStandardCommercialIdentifier; - - /** - * @access public - * @var string - */ - public $advertisingId; - - /** - * @access public - * @var string - */ - public $youTubeVideoIdString; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->industryStandardCommercialIdentifier = $industryStandardCommercialIdentifier; - $this->advertisingId = $advertisingId; - $this->youTubeVideoIdString = $youTubeVideoIdString; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("Webpage", false)) { - /** - * Criterion for targeting webpages of an advertiser's website. The - * website domain name is specified at the campaign level. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Webpage extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Webpage"; - - /** - * @access public - * @var WebpageParameter - */ - public $parameter; - - /** - * @access public - * @var double - */ - public $criteriaCoverage; - - /** - * @access public - * @var string[] - */ - public $criteriaSamples; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($parameter = null, $criteriaCoverage = null, $criteriaSamples = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->parameter = $parameter; - $this->criteriaCoverage = $criteriaCoverage; - $this->criteriaSamples = $criteriaSamples; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("WebpageCondition", false)) { - /** - * Logical expression for targeting webpages of an advertiser's website. - * - *

A condition is defined as {@code operand OP argument} - * where {@code operand} is one of the values enumerated in - * {@link WebpageConditionOperand}, and, based on this value, - * {@code OP} is either of {@code EQUALS} or {@code CONTAINS}.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageCondition"; - - /** - * @access public - * @var tnsWebpageConditionOperand - */ - public $operand; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $argument = null) { - $this->operand = $operand; - $this->argument = $argument; - } - - } -} - -if (!class_exists("WebpageParameter", false)) { - /** - * Parameter of Webpage criterion, expressed as a list of conditions, or - * logical expressions, for targeting webpages of an advertiser's website. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageParameter extends CriterionParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageParameter"; - - /** - * @access public - * @var string - */ - public $criterionName; - - /** - * @access public - * @var WebpageCondition[] - */ - public $conditions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionName = null, $conditions = null, $CriterionParameterType = null) { - parent::__construct(); - $this->criterionName = $criterionName; - $this->conditions = $conditions; - $this->CriterionParameterType = $CriterionParameterType; - } - - } -} - -if (!class_exists("DynamicSearchAd", false)) { - /** - * Represents a dynamic search ad. This ad will have its headline and - * destination URL auto-generated at serving time according to domain name - * specific information provided by {@link DomainInfoExtension} linked at the - * campaign level. - * - *

Auto-generated fields: headline and destination URL (may contain an optional - * tracking URL).

- * - *

Required fields: {@code description1}, {@code description2}, - * {@code displayUrl}.

- * - *

The URL field must contain at least one of the following placeholder tags - * (URL parameters):

- *
    - *
  • {unescapedlpurl}
  • - *
  • {escapedlpurl}
  • - *
  • {lpurlpath}
  • - *
  • {lpurl}
  • - *
- * - *

If no URL is specified, {unescapedlpurl} will be used as default.

- * - *
    - *
  • {unescapedlpurl} can only be used at the beginning of the URL field. It - * will be replaced with the full landing page URL of the displayed ad. Extra query - * parameters can be added to the end, e.g.: "{unescapedlpurl}?lang=en".
  • - * - *
  • {escapedlpurl} will be replaced with the URL-encoded version of the full - * landing page URL. This makes it suitable for use as a query parameter - * value (e.g.: "http://www.3rdpartytracker.com/?lp={escapedlpurl}") but - * not at the beginning of the URL field.
  • - * - *
  • {lpurlpath} will be replaced with the path and query part of the landing - * page URL and can be added to a different URL, e.g.: - * "http://www.mygoodbusiness.com/tracking/{lpurlpath}".
  • - * - *
  • {lpurl} encodes the "?" and "=" of the landing page URL making it suitable - * for use as a query parameter. If found at the beginning of the URL field, it is - * replaced by the {unescapedlpurl} value. - * E.g.: "http://tracking.com/redir.php?tracking=xyz&url={lpurl}".
  • - *
- * - *

There are also special rules that come into play depending on whether the - * destination URL uses local click tracking or third-party click tracking.

- * - *

Note that {@code finalUrls} and {@code finalMobileUrls} - * cannot be set for dynamic search ads.

- * - *

For more information, see the article - * Using dynamic tracking URLs. - *

- * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DynamicSearchAd extends Ad { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DynamicSearchAd"; - - /** - * @access public - * @var string - */ - public $description1; - - /** - * @access public - * @var string - */ - public $description2; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($description1 = null, $description2 = null, $id = null, $url = null, $displayUrl = null, $devicePreference = null, $AdType = null) { - parent::__construct(); - $this->description1 = $description1; - $this->description2 = $description2; - $this->id = $id; - $this->url = $url; - $this->displayUrl = $displayUrl; - $this->devicePreference = $devicePreference; - $this->AdType = $AdType; - } - - } -} - -if (!class_exists("AdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdExtensionErrorReason", false)) { - /** - * Account has been deleted - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdExtensionOverrideApprovalStatus", false)) { - /** - * Approval status for the AdExtensionOverride - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverrideApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverride.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdExtensionOverrideStatus", false)) { - /** - * Status of the AdExtensionOverride - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverrideStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverride.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("AdExtensionOverrideErrorReason", false)) { - /** - * Cannot override an ad that is already overriden with an adextension - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverrideErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverrideError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupAdApprovalStatus", false)) { - /** - * Represents the possible approval statuses. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupAdStatus", false)) { - /** - * The current status of an Ad. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAd.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("AdGroupAdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupCriterionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceededCriteriaLimitType", false)) { - /** - * The entity type that exceeded the limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceededCriteriaLimitType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded.CriteriaLimitType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupServiceErrorReason", false)) { - /** - * The reasons for the adgroup service error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupServiceError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupStatus", false)) { - /** - * Status of this ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroup.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("AdServingOptimizationStatus", false)) { - /** - * Ad serving status of campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdServingOptimizationStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdServingOptimizationStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdvertisingChannelType", false)) { - /** - * The channel type a campaign may target to serve on. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdvertisingChannelType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdvertisingChannelType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AgeRangeAgeRangeType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRangeAgeRangeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange.AgeRangeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ApprovalStatus", false)) { - /** - * Approval status for the criterion. - * Note: there are more states involved but we only expose two to users. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BasicJobStatus", false)) { - /** - * A basic set of job statuses. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BasicJobStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BasicJobStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BetaErrorReason", false)) { - /** - * The reasons for the beta error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BetaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BetaError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidModifierSource", false)) { - /** - * Enumerates possible sources for bid modifier. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidModifierSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidModifierSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BidSource", false)) { - /** - * Indicate where a criterion's bid came from: criterion or the adgroup it - * belongs to. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorReason", false)) { - /** - * Reason for bidding error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorsReason", false)) { - /** - * Bidding strategy cannot override ad group or campaign bidding strategy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorsReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingErrors.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategySource", false)) { - /** - * Indicates where bidding strategy came from: campaign, adgroup or criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategySource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategySource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingStrategyType", false)) { - /** - * The bidding strategy type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingStrategyType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingStrategyType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingTransitionErrorReason", false)) { - /** - * Reason for bidding transition error. - * Used by the bidding transition capability service as the denial reason. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingTransitionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingTransitionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetDeliveryMethod", false)) { - /** - * Budget delivery methods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetDeliveryMethod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetDeliveryMethod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetPeriod", false)) { - /** - * Budget periods. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetPeriod { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetPeriod"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetBudgetStatus", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetBudgetStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Budget.BudgetStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetErrorReason", false)) { - /** - * The reasons for the budget error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BulkMutateJobErrorReason", false)) { - /** - * The reasons for the bulk mutate job handling error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BulkMutateJobErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BulkMutateJobError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignAdExtensionApprovalStatus", false)) { - /** - * Approval status of the CampaignAdExtension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignAdExtensionStatus", false)) { - /** - * Status of the CampaignAdExtension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtension.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("CampaignAdExtensionErrorReason", false)) { - /** - * Cannot operate on an adextensions under the wrong campaign - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignCriterionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CampaignStatus", false)) { - /** - * Campaign status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ContentLabelType", false)) { - /** - * Content label type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ContentLabelType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ContentLabelType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemeBidType", false)) { - /** - * Average cost-per-acquisition (targetCPA) bid type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemeBidType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.BidType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerBiddingSchemePricingMode", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerBiddingSchemePricingMode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerBiddingScheme.PricingMode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ConversionOptimizerEligibilityRejectionReason", false)) { - /** - * Campaign is not active - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ConversionOptimizerEligibilityRejectionReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ConversionOptimizerEligibility.RejectionReason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * Concrete type of criterion is required for ADD and SET operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionTypeGroup", false)) { - /** - * The list of groupings of criteria types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionTypeGroup { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionTypeGroup"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionUse", false)) { - /** - * The way a criterion is used - biddable or negative. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUse"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DayOfWeek { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DeprecatedAdType", false)) { - /** - * Video ad. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DeprecatedAdType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DeprecatedAd.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("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityAccessDeniedReason", false)) { - /** - * User did not have read access. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDataStatus", false)) { - /** - * Status of the experimental change associated with an entity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDataStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDataStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentDeltaStatus", false)) { - /** - * Status of an entity denoting its type of experimental change in a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentDeltaStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentDeltaStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ExperimentErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExperimentErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExperimentError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemStatus", false)) { - /** - * Feed item is active - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItem.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("FeedItemErrorReason", false)) { - /** - * The reasons for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemValidationDetailApprovalStatus", false)) { - /** - * Feed item approval status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetailApprovalStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail.ApprovalStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FeedItemValidationDetailValidationStatus", false)) { - /** - * Feed item validation status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemValidationDetailValidationStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemValidationDetail.ValidationStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ForwardCompatibilityErrorReason", false)) { - /** - * The reason for the error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ForwardCompatibilityErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ForwardCompatibilityError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionOperator", false)) { - /** - * Operators that can be used in functions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Function.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() { - } - - } -} - -if (!class_exists("FunctionErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("FunctionParsingErrorReason", false)) { - /** - * Function parsing error reason. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FunctionParsingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FunctionParsingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GenderGenderType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GenderGenderType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Gender.GenderType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GeoTargetTypeSettingNegativeGeoTargetType", false)) { - /** - * The various signals a negative location target may use. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSettingNegativeGeoTargetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting.NegativeGeoTargetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("GeoTargetTypeSettingPositiveGeoTargetType", false)) { - /** - * The various signals a positive location target may use. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSettingPositiveGeoTargetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting.PositiveGeoTargetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 image is not valid. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("IncomeTier", false)) { - /** - * Income tiers that specify the income bracket a household falls under. TIER_1 - * belongs to the highest income bracket. The income bracket range associated with - * each tier is defined per country and computed based on income percentiles. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IncomeTier { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IncomeTier"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("JobErrorReason", false)) { - /** - * The reasons for the job handling error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class JobErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "JobError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Level", false)) { - /** - * The level on which the cap is to be applied. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Level { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Level"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationExtensionSource", false)) { - /** - * From manual entry in adwords frontend - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationExtensionSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationExtension.Source"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationOverrideInfoRadiusUnits", false)) { - /** - * Radius units - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationOverrideInfoRadiusUnits { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationOverrideInfo.RadiusUnits"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MarkupLanguageType", false)) { - /** - * Markup languages to use for mobile ads. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MarkupLanguageType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MarkupLanguageType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaMediaType", false)) { - /** - * Media types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMediaType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.MediaType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaMimeType", false)) { - /** - * Mime types - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaMimeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.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("MediaSize", false)) { - /** - * Sizes for retrieving the original media - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaSize { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Media.Size"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MediaErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MediaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MediaError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MinuteOfHour { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MobileDeviceDeviceType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileDeviceDeviceType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileDevice.DeviceType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MultiplierSource", false)) { - /** - * Denotes whether the bid multiplier is derived from the adgroup - * or the criterion - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MultiplierSource { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MultiplierSource"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NewEntityCreationErrorReason", false)) { - /** - * Do not set the id field while creating new entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperatingSystemVersionOperatorType", false)) { - /** - * The operator type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatingSystemVersionOperatorType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatingSystemVersion.OperatorType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PageOnePromotedBiddingSchemeStrategyGoal", false)) { - /** - * First page on google.com. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PageOnePromotedBiddingSchemeStrategyGoal { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PageOnePromotedBiddingScheme.StrategyGoal"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PlacesOfInterestOperandCategory", false)) { - /** - * Categories to identify places of interest. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacesOfInterestOperandCategory { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PlacesOfInterestOperand.Category"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PolicyViolationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductCanonicalConditionCondition", false)) { - /** - * A canonical product condition. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalConditionCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition.Condition"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductDimensionType", false)) { - /** - * Type of product dimension. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductDimensionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductDimensionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductPartitionType", false)) { - /** - * Type of a product partition in a shopping campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductPartitionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductPartitionType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProximityDistanceUnits", false)) { - /** - * The radius distance is expressed in either kilometers or miles. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProximityDistanceUnits { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity.DistanceUnits"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QueryErrorReason", false)) { - /** - * The reason for the query error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the quota error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RichMediaAdAdAttribute", false)) { - /** - * A set of attributes that describe the rich media ad capabilities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAdAdAttribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd.AdAttribute"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RichMediaAdRichMediaAdType", false)) { - /** - * Different types of rich media ad that are available to customers. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RichMediaAdRichMediaAdType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RichMediaAd.RichMediaAdType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ServingStatus", false)) { - /** - * Campaign serving status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ServingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ServingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SettingErrorReason", false)) { - /** - * The reasons for the setting error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SettingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SettingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SystemServingStatus", false)) { - /** - * Reported by system to reflect the criterion's serving status. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SystemServingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SystemServingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TargetErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TemplateElementFieldType", false)) { - /** - * Possible field types of template element fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TemplateElementFieldType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TemplateElementField.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("ThirdPartyRedirectAdExpandingDirection", false)) { - /** - * Allowed expanding directions for ads that are expandable. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ThirdPartyRedirectAdExpandingDirection { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ThirdPartyRedirectAd.ExpandingDirection"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * Unit of time the cap is defined at. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TimeUnit { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("UserStatus", false)) { - /** - * Specified by user to pause or unpause a criterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class UserStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "UserStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("VideoType", false)) { - /** - * VideoType enum values that are permitted for video filterable - * creative attribute IDs. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class VideoType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "VideoType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("WebpageConditionOperand", false)) { - /** - * Operand value of {@link WebpageCondition}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "WebpageConditionOperand"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MutateJobServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Query the status of existing jobs, both simple and bulk API. - *

Use a {@link JobSelector} to query and return a list which may - * contain both {@link BulkMutateJob} and/or {@link SimpleMutateJob}.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateJobServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var JobSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("MutateJobServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateJobServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Job[] - */ - 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("GetResult", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Query mutation results, of a {@code COMPLETED} job. - *

Use a {@link JobSelector} to query and return either a - * {@link BulkMutateResult} or a {@link SimpleMutateResult}. Submit only one job ID - * at a time.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetResult { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var JobSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("GetResultResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetResultResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var JobResult - */ - 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("MutateJobServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Simplified way of submitting a mutation job. The provided list of - * operations, if valid, will create a new job with a unique id, which will - * be returned. This id can later be used in invocations of - * {@link #get} and {@link #getResult}. Policy can optionally be specified. - * - *

When this method returns with success, the job will be in - * {@code PROCESSING} or {@code PENDING} state and no further action is - * needed for the job to get executed.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateJobServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Operation[] - */ - public $operations; - - /** - * @access public - * @var BulkMutateJobPolicy - */ - public $policy; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null, $policy = null) { - $this->operations = $operations; - $this->policy = $policy; - } - - } -} - -if (!class_exists("MutateJobServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateJobServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SimpleMutateJob - */ - 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("AdError", false)) { - /** - * Base error class for Ad Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdError"; - - /** - * @access public - * @var tnsAdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdExtensionError", false)) { - /** - * AdExtension errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionError"; - - /** - * @access public - * @var tnsAdExtensionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdExtensionOverrideError", false)) { - /** - * AdExtensionOverride errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverrideError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverrideError"; - - /** - * @access public - * @var tnsAdExtensionOverrideErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdExtensionOverrideOperation", false)) { - /** - * AdExtensionOverride service operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdExtensionOverrideOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdExtensionOverrideOperation"; - - /** - * @access public - * @var AdExtensionOverride - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupAdCountLimitExceeded", false)) { - /** - * Indicates too many ads were added/enabled under the specified adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdCountLimitExceeded extends EntityCountLimitExceeded { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdCountLimitExceeded"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - } - - } -} - -if (!class_exists("AdGroupAdError", false)) { - /** - * Error information for AdGroupAdService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdError"; - - /** - * @access public - * @var tnsAdGroupAdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupAdOperation", false)) { - /** - * AdGroupAd service operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupAdOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupAdOperation"; - - /** - * @access public - * @var AdGroupAd - */ - public $operand; - - /** - * @access public - * @var ExemptionRequest[] - */ - public $exemptionRequests; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $exemptionRequests = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->exemptionRequests = $exemptionRequests; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupBidModifierOperation", false)) { - /** - * Operation used to create or mutate a AdGroupBidModifier. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidModifierOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidModifierOperation"; - - /** - * @access public - * @var AdGroupBidModifier - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupCriterionError", false)) { - /** - * Base error class for Ad Group Criterion Service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError"; - - /** - * @access public - * @var tnsAdGroupCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceeded", false)) { - /** - * Signals that too many criteria were added to some ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceeded extends EntityCountLimitExceeded { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded"; - - /** - * @access public - * @var tnsAdGroupCriterionLimitExceededCriteriaLimitType - */ - public $limitType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($limitType = null, $reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null) { - parent::__construct(); - $this->limitType = $limitType; - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - } - - } -} - -if (!class_exists("AdGroupCriterionOperation", false)) { - /** - * Operation (add, remove and set) on adgroup criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionOperation"; - - /** - * @access public - * @var AdGroupCriterion - */ - public $operand; - - /** - * @access public - * @var ExemptionRequest[] - */ - public $exemptionRequests; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $exemptionRequests = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->exemptionRequests = $exemptionRequests; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupOperation", false)) { - /** - * AdGroup operations for adding/updating/removing adgroups. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupOperation"; - - /** - * @access public - * @var AdGroup - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("AdGroupServiceError", false)) { - /** - * Represents possible error codes in AdGroupService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupServiceError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupServiceError"; - - /** - * @access public - * @var tnsAdGroupServiceErrorReason - */ - public $reason; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $adGroupId = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->adGroupId = $adGroupId; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdSchedule", false)) { - /** - * Represents an AdSchedule Criterion. - * AdSchedule is specified as day and time of the week criteria to target - * the Ads. - *

Note: An AdSchedule may not have more than six intervals - * in a day.

- * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdSchedule extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdSchedule"; - - /** - * @access public - * @var tnsDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $endMinute; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdScheduleTarget", false)) { - /** - * Immutable structure to hold an ad schedule target. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdScheduleTarget extends Target { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdScheduleTarget"; - - /** - * @access public - * @var tnsDayOfWeek - */ - public $dayOfWeek; - - /** - * @access public - * @var integer - */ - public $startHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $startMinute; - - /** - * @access public - * @var integer - */ - public $endHour; - - /** - * @access public - * @var tnsMinuteOfHour - */ - public $endMinute; - - /** - * @access public - * @var double - */ - public $bidMultiplier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $bidMultiplier = null, $TargetType = null) { - parent::__construct(); - $this->dayOfWeek = $dayOfWeek; - $this->startHour = $startHour; - $this->startMinute = $startMinute; - $this->endHour = $endHour; - $this->endMinute = $endMinute; - $this->bidMultiplier = $bidMultiplier; - $this->TargetType = $TargetType; - } - - } -} - -if (!class_exists("AdScheduleTargetList", false)) { - /** - * List of ad schedule targets. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdScheduleTargetList extends TargetList { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdScheduleTargetList"; - - /** - * @access public - * @var AdScheduleTarget[] - */ - public $targets; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targets = null, $campaignId = null, $TargetListType = null) { - parent::__construct(); - $this->targets = $targets; - $this->campaignId = $campaignId; - $this->TargetListType = $TargetListType; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AgeRange", false)) { - /** - * Represents an Age Range criterion. - *

A criterion of this type can only be created using an ID. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AgeRange extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AgeRange"; - - /** - * @access public - * @var tnsAgeRangeAgeRangeType - */ - public $ageRangeType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ageRangeType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->ageRangeType = $ageRangeType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Audio", false)) { - /** - * Encapsulates an Audio media identified by a MediaId. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Audio extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Audio"; - - /** - * @access public - * @var integer - */ - public $durationMillis; - - /** - * @access public - * @var string - */ - public $streamingUrl; - - /** - * @access public - * @var boolean - */ - public $readyToPlayOnTheWeb; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->durationMillis = $durationMillis; - $this->streamingUrl = $streamingUrl; - $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("BudgetOperation", false)) { - /** - * Operations for adding/updating Budget entities. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetOperation"; - - /** - * @access public - * @var Budget - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("BulkMutateJobSelector", false)) { - /** - * Specifies additional criteria for selecting bulk mutate jobs. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BulkMutateJobSelector extends JobSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BulkMutateJobSelector"; - - /** - * @access public - * @var integer[] - */ - public $jobIds; - - /** - * @access public - * @var integer - */ - public $resultPartIndex; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($jobIds = null, $resultPartIndex = null, $includeHistory = null, $includeStats = null, $JobSelectorType = null) { - parent::__construct(); - $this->jobIds = $jobIds; - $this->resultPartIndex = $resultPartIndex; - $this->includeHistory = $includeHistory; - $this->includeStats = $includeStats; - $this->JobSelectorType = $JobSelectorType; - } - - } -} - -if (!class_exists("CampaignAdExtensionOperation", false)) { - /** - * CampaignAdExtension service operation. Note: The {@code SET} operator - * is not supported. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignAdExtensionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignAdExtensionOperation"; - - /** - * @access public - * @var CampaignAdExtension - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignCriterionOperation", false)) { - /** - * Generic operation (add, remove and set) for campaign criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignCriterionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignCriterionOperation"; - - /** - * @access public - * @var CampaignCriterion - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignOperation", false)) { - /** - * An operation on an AdWords campaign. - *

Note: The REMOVE operator is not - * supported. To remove a campaign, set its {@link Campaign#status status} - * to {@code REMOVED}.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignOperation"; - - /** - * @access public - * @var Campaign - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("CampaignTargetOperation", false)) { - /** - * Sets a list of targets on a specified campaign. - *

Note: Only the SET operator is supported.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignTargetOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CampaignTargetOperation"; - - /** - * @access public - * @var TargetList - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Carrier", false)) { - /** - * Represents a Carrier Criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Carrier extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Carrier"; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var string - */ - public $countryCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $countryCode = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->name = $name; - $this->countryCode = $countryCode; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ContentLabel", false)) { - /** - * Content Label for category exclusion. - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ContentLabel extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ContentLabel"; - - /** - * @access public - * @var tnsContentLabelType - */ - public $contentLabelType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($contentLabelType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->contentLabelType = $contentLabelType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionPolicyError", false)) { - /** - * Contains the policy violations for a single BiddableAdGroupCriterion. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionPolicyError extends PolicyViolationError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionPolicyError"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("DynamicSearchAdsSetting", false)) { - /** - * Setting for controlling Dynamic Search Ads (DSA). Contains the domain name and the language - * used by the DSA system to automatically generate landing pages and keywords for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DynamicSearchAdsSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DynamicSearchAdsSetting"; - - /** - * @access public - * @var string - */ - public $domainName; - - /** - * @access public - * @var string - */ - public $languageCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($domainName = null, $languageCode = null, $SettingType = null) { - parent::__construct(); - $this->domainName = $domainName; - $this->languageCode = $languageCode; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("ExplorerAutoOptimizerSetting", false)) { - /** - * Settings for Explorer (GDN Auto Optimizer). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExplorerAutoOptimizerSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ExplorerAutoOptimizerSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("FeedItemOperation", false)) { - /** - * FeedItem service mutate operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FeedItemOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "FeedItemOperation"; - - /** - * @access public - * @var FeedItem - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("GeoTargetOperand", false)) { - /** - * Represents an operand containing geo information, specifying the scope of the - * geographical area. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetOperand"; - - /** - * @access public - * @var integer[] - */ - public $locations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locations = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->locations = $locations; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("GeoTargetTypeSetting", false)) { - /** - * Represents a collection of settings related to ads geotargeting. - * - *

AdWords ads can be geotargeted using Location of Presence (LOP), - * Area of Interest (AOI), or both. LOP is the physical location - * of the user performing the search; AOI is the geographical region - * in which the searcher is interested. For example, if a user in - * New York City performs a search "hotels california", their LOP - * is New York City and their AOI is California. - * - *

Additionally, ads can be positively or negatively geotargeted. - * An ad that is positively geotargeted to New York City only appears - * to users whose location is related (via AOI or LOP) to New York City. An ad - * that is negatively geotargeted to New York City appears for all - * users except those whose location is related to New York City. Ads can - * only be negatively geotargeted if a positive geotargeting is also supplied, and - * the negatively geotargeted region must be contained within the positive - * region. - * - *

Geotargeting settings allow ads to be targeted in the following way: - *

    - *
  • Positively geotargeted using solely AOI, solely LOP, or either. - *
  • Negatively geotargeted using solely LOP, or both. - *
- * - *

This setting applies only to ads shown on the search network, and does - * not affect ads shown on the Google Display Network. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoTargetTypeSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoTargetTypeSetting"; - - /** - * @access public - * @var tnsGeoTargetTypeSettingPositiveGeoTargetType - */ - public $positiveGeoTargetType; - - /** - * @access public - * @var tnsGeoTargetTypeSettingNegativeGeoTargetType - */ - public $negativeGeoTargetType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($positiveGeoTargetType = null, $negativeGeoTargetType = null, $SettingType = null) { - parent::__construct(); - $this->positiveGeoTargetType = $positiveGeoTargetType; - $this->negativeGeoTargetType = $negativeGeoTargetType; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("Image", false)) { - /** - * Encapsulates an Image media. For {@code SET},{@code REMOVE} operations in - * MediaService, use {@code mediaId}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Image extends Media { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Image"; - - /** - * @access public - * @var base64Binary - */ - public $data; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($data = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null) { - parent::__construct(); - $this->data = $data; - $this->mediaId = $mediaId; - $this->type = $type; - $this->referenceId = $referenceId; - $this->dimensions = $dimensions; - $this->urls = $urls; - $this->mimeType = $mimeType; - $this->sourceUrl = $sourceUrl; - $this->name = $name; - $this->fileSize = $fileSize; - $this->creationTime = $creationTime; - $this->MediaType = $MediaType; - } - - } -} - -if (!class_exists("IncomeOperand", false)) { - /** - * This operand specifies the income bracket a household falls under. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IncomeOperand extends FunctionArgumentOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IncomeOperand"; - - /** - * @access public - * @var tnsIncomeTier - */ - public $tier; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($tier = null, $FunctionArgumentOperandType = null) { - parent::__construct(); - $this->tier = $tier; - $this->FunctionArgumentOperandType = $FunctionArgumentOperandType; - } - - } -} - -if (!class_exists("KeywordMatchSetting", false)) { - /** - * Improved exact and phrase match option includes misspellings, plurals, - * and other close variants of your keywords. - * - * Default value set to {@code true} to include close variants. For more - * information, see the article - * - * What are keyword matching options?. - * - * This setting is required when creating new campaigns. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("ProductAdwordsGrouping", false)) { - /** - * An {@code adwords grouping} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsGrouping extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsGrouping"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductAdwordsLabels", false)) { - /** - * An {@code adwords labels} string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductAdwordsLabels extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductAdwordsLabels"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBiddingCategory", false)) { - /** - * One element of a bidding category at a certain level. Top-level categories are at level 1, - * their children at level 2, and so on. We currently support up to 5 levels. The user must specify - * a dimension type that indicates the level of the category. All cases of the the same subdivision - * must have the same dimension type (category level). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBiddingCategory extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBiddingCategory"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductBrand", false)) { - /** - * A brand string. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductBrand extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductBrand"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCanonicalCondition", false)) { - /** - * A canonical condition. Only supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCanonicalCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCanonicalCondition"; - - /** - * @access public - * @var tnsProductCanonicalConditionCondition - */ - public $condition; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($condition = null, $ProductDimensionType = null) { - parent::__construct(); - $this->condition = $condition; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductLegacyCondition", false)) { - /** - * A plain condition string. Not supported by campaigns of - * {@link AdvertisingChannelType#SHOPPING}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductLegacyCondition extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductLegacyCondition"; - - /** - * @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, $ProductDimensionType = null) { - parent::__construct(); - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("ProductCustomAttribute", false)) { - /** - * A custom attribute value. As a product can have multiple custom attributes, the user must specify - * a dimension type that indicates the index of the attribute by which to subdivide. All cases of - * the same subdivision must have the same dimension type (attribute index). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCustomAttribute extends ProductDimension { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCustomAttribute"; - - /** - * @access public - * @var tnsProductDimensionType - */ - public $type; - - /** - * @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($type = null, $value = null, $ProductDimensionType = null) { - parent::__construct(); - $this->type = $type; - $this->value = $value; - $this->ProductDimensionType = $ProductDimensionType; - } - - } -} - -if (!class_exists("RealTimeBiddingSetting", false)) { - /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RealTimeBiddingSetting extends Setting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RealTimeBiddingSetting"; - - /** - * @access public - * @var boolean - */ - public $optIn; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($optIn = null, $SettingType = null) { - parent::__construct(); - $this->optIn = $optIn; - $this->SettingType = $SettingType; - } - - } -} - -if (!class_exists("MutateJobService", false)) { - /** - * MutateJobService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MutateJobService extends AdWordsSoapClient { - - const SERVICE_NAME = "MutateJobService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/MutateJobService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/MutateJobService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Ad" => "Ad", - "AdError" => "AdError", - "AdExtension" => "AdExtension", - "AdExtensionError" => "AdExtensionError", - "AdExtensionOverride" => "AdExtensionOverride", - "AdExtensionOverrideError" => "AdExtensionOverrideError", - "AdExtensionOverrideOperation" => "AdExtensionOverrideOperation", - "AdGroup" => "AdGroup", - "AdGroupAd" => "AdGroupAd", - "AdGroupAdCountLimitExceeded" => "AdGroupAdCountLimitExceeded", - "AdGroupAdError" => "AdGroupAdError", - "AdGroupAdExperimentData" => "AdGroupAdExperimentData", - "AdGroupAdOperation" => "AdGroupAdOperation", - "AdGroupBidModifier" => "AdGroupBidModifier", - "AdGroupBidModifierOperation" => "AdGroupBidModifierOperation", - "AdGroupCriterion" => "AdGroupCriterion", - "AdGroupCriterionError" => "AdGroupCriterionError", - "AdGroupCriterionExperimentBidMultiplier" => "AdGroupCriterionExperimentBidMultiplier", - "AdGroupCriterionLimitExceeded" => "AdGroupCriterionLimitExceeded", - "AdGroupCriterionOperation" => "AdGroupCriterionOperation", - "AdGroupExperimentBidMultipliers" => "AdGroupExperimentBidMultipliers", - "AdGroupExperimentData" => "AdGroupExperimentData", - "AdGroupOperation" => "AdGroupOperation", - "AdGroupServiceError" => "AdGroupServiceError", - "AdSchedule" => "AdSchedule", - "AdScheduleTarget" => "AdScheduleTarget", - "AdScheduleTargetList" => "AdScheduleTargetList", - "AdUnionId" => "AdUnionId", - "Address" => "Address", - "AdxError" => "AdxError", - "AgeRange" => "AgeRange", - "ApiError" => "ApiError", - "ApiErrorReason" => "ApiErrorReason", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Audio" => "Audio", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "Bid" => "Bid", - "BidMultiplier" => "BidMultiplier", - "BiddableAdGroupCriterion" => "BiddableAdGroupCriterion", - "BiddableAdGroupCriterionExperimentData" => "BiddableAdGroupCriterionExperimentData", - "BiddingError" => "BiddingError", - "BiddingErrors" => "BiddingErrors", - "BiddingScheme" => "BiddingScheme", - "BiddingStrategyConfiguration" => "BiddingStrategyConfiguration", - "BiddingTransitionError" => "BiddingTransitionError", - "Bids" => "Bids", - "BillingSummary" => "BillingSummary", - "Budget" => "Budget", - "BudgetError" => "BudgetError", - "BudgetOperation" => "BudgetOperation", - "BudgetOptimizerBiddingScheme" => "BudgetOptimizerBiddingScheme", - "BulkMutateJobError" => "BulkMutateJobError", - "BulkMutateJobPolicy" => "BulkMutateJobPolicy", - "BulkMutateJobSelector" => "BulkMutateJobSelector", - "Campaign" => "Campaign", - "CampaignAdExtension" => "CampaignAdExtension", - "CampaignAdExtensionError" => "CampaignAdExtensionError", - "CampaignAdExtensionOperation" => "CampaignAdExtensionOperation", - "CampaignCriterion" => "CampaignCriterion", - "CampaignCriterionError" => "CampaignCriterionError", - "CampaignCriterionOperation" => "CampaignCriterionOperation", - "CampaignError" => "CampaignError", - "CampaignOperation" => "CampaignOperation", - "CampaignTargetOperation" => "CampaignTargetOperation", - "Carrier" => "Carrier", - "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", - "ContentLabel" => "ContentLabel", - "ConversionOptimizerBiddingScheme" => "ConversionOptimizerBiddingScheme", - "ConversionOptimizerEligibility" => "ConversionOptimizerEligibility", - "CpaBid" => "CpaBid", - "CpcBid" => "CpcBid", - "CpmBid" => "CpmBid", - "Criterion" => "Criterion", - "CriterionError" => "CriterionError", - "CriterionParameter" => "CriterionParameter", - "CriterionPolicyError" => "CriterionPolicyError", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DeprecatedAd" => "DeprecatedAd", - "Dimensions" => "Dimensions", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "DynamicSearchAdsSetting" => "DynamicSearchAdsSetting", - "EnhancedCpcBiddingScheme" => "EnhancedCpcBiddingScheme", - "EntityAccessDenied" => "EntityAccessDenied", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "ExemptionRequest" => "ExemptionRequest", - "ExperimentError" => "ExperimentError", - "ExplorerAutoOptimizerSetting" => "ExplorerAutoOptimizerSetting", - "FeedItem" => "FeedItem", - "FeedItemAttributeError" => "FeedItemAttributeError", - "FeedItemAttributeValue" => "FeedItemAttributeValue", - "FeedItemDevicePreference" => "FeedItemDevicePreference", - "FeedItemError" => "FeedItemError", - "FeedItemOperation" => "FeedItemOperation", - "FeedItemSchedule" => "FeedItemSchedule", - "FeedItemScheduling" => "FeedItemScheduling", - "FeedItemValidationDetail" => "FeedItemValidationDetail", - "ForwardCompatibilityError" => "ForwardCompatibilityError", - "FrequencyCap" => "FrequencyCap", - "Function" => "FeedFunction", - "FunctionError" => "FunctionError", - "Gender" => "Gender", - "GeoPoint" => "GeoPoint", - "GeoTargetOperand" => "GeoTargetOperand", - "GeoTargetTypeSetting" => "GeoTargetTypeSetting", - "IdError" => "IdError", - "Image" => "Image", - "ImageAd" => "ImageAd", - "ImageError" => "ImageError", - "IncomeOperand" => "IncomeOperand", - "InternalApiError" => "InternalApiError", - "IpBlock" => "IpBlock", - "Job" => "Job", - "JobError" => "JobError", - "JobEvent" => "JobEvent", - "JobResult" => "JobResult", - "JobSelector" => "JobSelector", - "JobStats" => "JobStats", - "Keyword" => "Keyword", - "KeywordMatchSetting" => "KeywordMatchSetting", - "Language" => "Language", - "Location" => "Location", - "LocationExtension" => "LocationExtension", - "LocationOverrideInfo" => "LocationOverrideInfo", - "LocationSyncExtension" => "LocationSyncExtension", - "LongValue" => "LongValue", - "ManualCPCAdGroupCriterionExperimentBidMultiplier" => "ManualCPCAdGroupCriterionExperimentBidMultiplier", - "ManualCPCAdGroupExperimentBidMultipliers" => "ManualCPCAdGroupExperimentBidMultipliers", - "ManualCPMAdGroupExperimentBidMultipliers" => "ManualCPMAdGroupExperimentBidMultipliers", - "ManualCpcBiddingScheme" => "ManualCpcBiddingScheme", - "ManualCpmBiddingScheme" => "ManualCpmBiddingScheme", - "Media" => "Media", - "MediaError" => "MediaError", - "Media_Size_DimensionsMapEntry" => "Media_Size_DimensionsMapEntry", - "Media_Size_StringMapEntry" => "Media_Size_StringMapEntry", - "MobileAd" => "MobileAd", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "MobileDevice" => "MobileDevice", - "MobileImageAd" => "MobileImageAd", - "Money" => "Money", - "NegativeAdGroupCriterion" => "NegativeAdGroupCriterion", - "NegativeCampaignCriterion" => "NegativeCampaignCriterion", - "NetworkSetting" => "NetworkSetting", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OAuthInfo" => "OAuthInfo", - "FunctionArgumentOperand" => "FunctionArgumentOperand", - "Operand" => "Operand", - "OperatingSystemVersion" => "OperatingSystemVersion", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OverrideInfo" => "OverrideInfo", - "PageOnePromotedBiddingScheme" => "PageOnePromotedBiddingScheme", - "PagingError" => "PagingError", - "PercentCpaBid" => "PercentCpaBid", - "PercentCpaBiddingScheme" => "PercentCpaBiddingScheme", - "PlaceHolder" => "PlaceHolder", - "Placement" => "Placement", - "PlacesOfInterestOperand" => "PlacesOfInterestOperand", - "Platform" => "Platform", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "Product" => "Product", - "ProductAd" => "ProductAd", - "ProductAdwordsGrouping" => "ProductAdwordsGrouping", - "ProductAdwordsLabels" => "ProductAdwordsLabels", - "ProductBiddingCategory" => "ProductBiddingCategory", - "ProductBrand" => "ProductBrand", - "ProductCanonicalCondition" => "ProductCanonicalCondition", - "ProductLegacyCondition" => "ProductLegacyCondition", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "ProductCustomAttribute" => "ProductCustomAttribute", - "ProductDimension" => "ProductDimension", - "ProductOfferId" => "ProductOfferId", - "ProductPartition" => "ProductPartition", - "ProductSalesChannel" => "ProductSalesChannel", - "ProductScope" => "ProductScope", - "ProductType" => "ProductType", - "ProductTypeFull" => "ProductTypeFull", - "Proximity" => "Proximity", - "QualityInfo" => "QualityInfo", - "QueryError" => "QueryError", - "QuotaCheckError" => "QuotaCheckError", - "QuotaError" => "QuotaError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RealTimeBiddingSetting" => "RealTimeBiddingSetting", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "RichMediaAd" => "RichMediaAd", - "SelectorError" => "SelectorError", - "LocationGroups" => "LocationGroups", - "Setting" => "Setting", - "SettingError" => "SettingError", - "ShoppingSetting" => "ShoppingSetting", - "SimpleMutateJob" => "SimpleMutateJob", - "SimpleMutateResult" => "SimpleMutateResult", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "String_StringMapEntry" => "String_StringMapEntry", - "Target" => "Target", - "TargetCpaBiddingScheme" => "TargetCpaBiddingScheme", - "TargetError" => "TargetError", - "TargetList" => "TargetList", - "TargetingSettingDetail" => "TargetingSettingDetail", - "TargetRoasBiddingScheme" => "TargetRoasBiddingScheme", - "TargetSpendBiddingScheme" => "TargetSpendBiddingScheme", - "TargetingSetting" => "TargetingSetting", - "TempAdUnionId" => "TempAdUnionId", - "TemplateAd" => "TemplateAd", - "TemplateElement" => "TemplateElement", - "TemplateElementField" => "TemplateElementField", - "TextAd" => "TextAd", - "ThirdPartyRedirectAd" => "ThirdPartyRedirectAd", - "TrackingSetting" => "TrackingSetting", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "Video" => "Video", - "Webpage" => "Webpage", - "WebpageCondition" => "WebpageCondition", - "WebpageParameter" => "WebpageParameter", - "DynamicSearchAd" => "DynamicSearchAd", - "AdError.Reason" => "AdErrorReason", - "AdExtensionError.Reason" => "AdExtensionErrorReason", - "AdExtensionOverride.ApprovalStatus" => "AdExtensionOverrideApprovalStatus", - "AdExtensionOverride.Status" => "AdExtensionOverrideStatus", - "AdExtensionOverrideError.Reason" => "AdExtensionOverrideErrorReason", - "AdGroupAd.ApprovalStatus" => "AdGroupAdApprovalStatus", - "AdGroupAd.Status" => "AdGroupAdStatus", - "AdGroupAdError.Reason" => "AdGroupAdErrorReason", - "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", - "AdGroupCriterionLimitExceeded.CriteriaLimitType" => "AdGroupCriterionLimitExceededCriteriaLimitType", - "AdGroupServiceError.Reason" => "AdGroupServiceErrorReason", - "AdGroup.Status" => "AdGroupStatus", - "AdServingOptimizationStatus" => "AdServingOptimizationStatus", - "AdvertisingChannelType" => "AdvertisingChannelType", - "AdxError.Reason" => "AdxErrorReason", - "AgeRange.AgeRangeType" => "AgeRangeAgeRangeType", - "ApprovalStatus" => "ApprovalStatus", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BasicJobStatus" => "BasicJobStatus", - "BetaError.Reason" => "BetaErrorReason", - "BidModifierSource" => "BidModifierSource", - "BidSource" => "BidSource", - "BiddingError.Reason" => "BiddingErrorReason", - "BiddingErrors.Reason" => "BiddingErrorsReason", - "BiddingStrategySource" => "BiddingStrategySource", - "BiddingStrategyType" => "BiddingStrategyType", - "BiddingTransitionError.Reason" => "BiddingTransitionErrorReason", - "Budget.BudgetDeliveryMethod" => "BudgetBudgetDeliveryMethod", - "Budget.BudgetPeriod" => "BudgetBudgetPeriod", - "Budget.BudgetStatus" => "BudgetBudgetStatus", - "BudgetError.Reason" => "BudgetErrorReason", - "BulkMutateJobError.Reason" => "BulkMutateJobErrorReason", - "CampaignAdExtension.ApprovalStatus" => "CampaignAdExtensionApprovalStatus", - "CampaignAdExtension.Status" => "CampaignAdExtensionStatus", - "CampaignAdExtensionError.Reason" => "CampaignAdExtensionErrorReason", - "CampaignCriterionError.Reason" => "CampaignCriterionErrorReason", - "CampaignError.Reason" => "CampaignErrorReason", - "CampaignStatus" => "CampaignStatus", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "ContentLabelType" => "ContentLabelType", - "ConversionOptimizerBiddingScheme.BidType" => "ConversionOptimizerBiddingSchemeBidType", - "ConversionOptimizerBiddingScheme.PricingMode" => "ConversionOptimizerBiddingSchemePricingMode", - "ConversionOptimizerEligibility.RejectionReason" => "ConversionOptimizerEligibilityRejectionReason", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "CriterionTypeGroup" => "CriterionTypeGroup", - "CriterionUse" => "CriterionUse", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DayOfWeek" => "DayOfWeek", - "DeprecatedAd.Type" => "DeprecatedAdType", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "ExperimentDataStatus" => "ExperimentDataStatus", - "ExperimentDeltaStatus" => "ExperimentDeltaStatus", - "ExperimentError.Reason" => "ExperimentErrorReason", - "FeedItem.Status" => "FeedItemStatus", - "FeedItemError.Reason" => "FeedItemErrorReason", - "FeedItemValidationDetail.ApprovalStatus" => "FeedItemValidationDetailApprovalStatus", - "FeedItemValidationDetail.ValidationStatus" => "FeedItemValidationDetailValidationStatus", - "ForwardCompatibilityError.Reason" => "ForwardCompatibilityErrorReason", - "Function.Operator" => "FunctionOperator", - "FunctionError.Reason" => "FunctionErrorReason", - "FunctionParsingError.Reason" => "FunctionParsingErrorReason", - "Gender.GenderType" => "GenderGenderType", - "GeoTargetTypeSetting.NegativeGeoTargetType" => "GeoTargetTypeSettingNegativeGeoTargetType", - "GeoTargetTypeSetting.PositiveGeoTargetType" => "GeoTargetTypeSettingPositiveGeoTargetType", - "IdError.Reason" => "IdErrorReason", - "ImageError.Reason" => "ImageErrorReason", - "IncomeTier" => "IncomeTier", - "InternalApiError.Reason" => "InternalApiErrorReason", - "JobError.Reason" => "JobErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "Level" => "Level", - "LocationExtension.Source" => "LocationExtensionSource", - "LocationOverrideInfo.RadiusUnits" => "LocationOverrideInfoRadiusUnits", - "LocationTargetingStatus" => "LocationTargetingStatus", - "MarkupLanguageType" => "MarkupLanguageType", - "Media.MediaType" => "MediaMediaType", - "Media.MimeType" => "MediaMimeType", - "Media.Size" => "MediaSize", - "MediaError.Reason" => "MediaErrorReason", - "MinuteOfHour" => "MinuteOfHour", - "MobileDevice.DeviceType" => "MobileDeviceDeviceType", - "MultiplierSource" => "MultiplierSource", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperatingSystemVersion.OperatorType" => "OperatingSystemVersionOperatorType", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PageOnePromotedBiddingScheme.StrategyGoal" => "PageOnePromotedBiddingSchemeStrategyGoal", - "PagingError.Reason" => "PagingErrorReason", - "PlacesOfInterestOperand.Category" => "PlacesOfInterestOperandCategory", - "PolicyViolationError.Reason" => "PolicyViolationErrorReason", - "ProductCanonicalCondition.Condition" => "ProductCanonicalConditionCondition", - "ProductDimensionType" => "ProductDimensionType", - "ProductPartitionType" => "ProductPartitionType", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", - "QueryError.Reason" => "QueryErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "QuotaError.Reason" => "QuotaErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "RichMediaAd.AdAttribute" => "RichMediaAdAdAttribute", - "RichMediaAd.RichMediaAdType" => "RichMediaAdRichMediaAdType", - "SelectorError.Reason" => "SelectorErrorReason", - "ServingStatus" => "ServingStatus", - "SettingError.Reason" => "SettingErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "SystemServingStatus" => "SystemServingStatus", - "TargetError.Reason" => "TargetErrorReason", - "TemplateElementField.Type" => "TemplateElementFieldType", - "ThirdPartyRedirectAd.ExpandingDirection" => "ThirdPartyRedirectAdExpandingDirection", - "TimeUnit" => "TimeUnit", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "UserStatus" => "UserStatus", - "VideoType" => "VideoType", - "WebpageConditionOperand" => "WebpageConditionOperand", - "get" => "MutateJobServiceGet", - "getResponse" => "MutateJobServiceGetResponse", - "getResult" => "GetResult", - "getResultResponse" => "GetResultResponse", - "mutate" => "MutateJobServiceMutate", - "mutateResponse" => "MutateJobServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Query the status of existing jobs, both simple and bulk API. - *

Use a {@link JobSelector} to query and return a list which may - * contain both {@link BulkMutateJob} and/or {@link SimpleMutateJob}.

- */ - public function get($selector) { - $args = new MutateJobServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Query mutation results, of a {@code COMPLETED} job. - *

Use a {@link JobSelector} to query and return either a - * {@link BulkMutateResult} or a {@link SimpleMutateResult}. Submit only one job ID - * at a time.

- */ - public function getResult($selector) { - $args = new GetResult($selector); - $result = $this->__soapCall("getResult", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Simplified way of submitting a mutation job. The provided list of - * operations, if valid, will create a new job with a unique id, which will - * be returned. This id can later be used in invocations of - * {@link #get} and {@link #getResult}. Policy can optionally be specified. - * - *

When this method returns with success, the job will be in - * {@code PROCESSING} or {@code PENDING} state and no further action is - * needed for the job to get executed.

- */ - public function mutate($operations, $policy) { - $args = new MutateJobServiceMutate($operations, $policy); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/OfflineConversionFeedService.php b/src/Google/Api/Ads/AdWords/v201402/OfflineConversionFeedService.php deleted file mode 100755 index da227823b..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/OfflineConversionFeedService.php +++ /dev/null @@ -1,3273 +0,0 @@ -googleClickId = $googleClickId; - $this->conversionName = $conversionName; - $this->conversionTime = $conversionTime; - $this->conversionValue = $conversionValue; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Base list return value type. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CurrencyCodeErrorReason", false)) { - /** - * Encodes the reason (cause) of a particular {@link CurrencyCodeError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CurrencyCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("MatchesRegexErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MatchesRegexError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OfflineConversionErrorReason", false)) { - /** - * The reasons for an OfflineConversionError. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OfflineConversionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * The reasons for errors when using pagination. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OfflineConversionFeedServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD. - * - * - * - * Reports an offline conversion for each entry in {@code operations}. - *

- * This bulk operation does not have any transactional guarantees. Some operations can succeed - * while others fail. - * - * @param operations A list of offline conversion feed operations. - * @return The list of offline conversion feed results (in the same order as the operations). - * @throws {@link ApiException} if problems occurred while applying offline conversions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionFeedServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var OfflineConversionFeedOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("OfflineConversionFeedServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionFeedServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var OfflineConversionFeedReturnValue - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CurrencyCodeError", false)) { - /** - * Errors for currency codes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CurrencyCodeError"; - - /** - * @access public - * @var tnsCurrencyCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("MatchesRegexError", false)) { - /** - * Errors associated with a given string not matching the provided - * regular expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MatchesRegexError"; - - /** - * @access public - * @var tnsMatchesRegexErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OfflineConversionError", false)) { - /** - * Errors that the {@link OfflineConversionFeedService} can throw. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OfflineConversionError"; - - /** - * @access public - * @var tnsOfflineConversionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OfflineConversionFeedOperation", false)) { - /** - * Operation for uploading {@link OfflineConversionFeed}. - * See {@link OfflineConversionFeedService#mutate} - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionFeedOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OfflineConversionFeedOperation"; - - /** - * @access public - * @var OfflineConversionFeed - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * Error codes for pagination. - * See {@link com.google.ads.api.services.common.pagination.Paging}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("OfflineConversionFeedReturnValue", false)) { - /** - * A container for return values from the OfflineConversionFeedService. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionFeedReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OfflineConversionFeedReturnValue"; - - /** - * @access public - * @var OfflineConversionFeed[] - */ - public $value; - - /** - * @access public - * @var ApiError[] - */ - public $partialFailureErrors; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $partialFailureErrors = null, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->partialFailureErrors = $partialFailureErrors; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("OfflineConversionFeedService", false)) { - /** - * OfflineConversionFeedService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OfflineConversionFeedService extends AdWordsSoapClient { - - const SERVICE_NAME = "OfflineConversionFeedService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/OfflineConversionFeedService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/OfflineConversionFeedService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "CurrencyCodeError" => "CurrencyCodeError", - "DateError" => "DateError", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "MatchesRegexError" => "MatchesRegexError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OfflineConversionError" => "OfflineConversionError", - "OfflineConversionFeed" => "OfflineConversionFeed", - "OfflineConversionFeedOperation" => "OfflineConversionFeedOperation", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "PagingError" => "PagingError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "OfflineConversionFeedReturnValue" => "OfflineConversionFeedReturnValue", - "ListReturnValue" => "ListReturnValue", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "CurrencyCodeError.Reason" => "CurrencyCodeErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "MatchesRegexError.Reason" => "MatchesRegexErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OfflineConversionError.Reason" => "OfflineConversionErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "mutate" => "OfflineConversionFeedServiceMutate", - "mutateResponse" => "OfflineConversionFeedServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD. - * - * - * - * Reports an offline conversion for each entry in {@code operations}. - *

- * This bulk operation does not have any transactional guarantees. Some operations can succeed - * while others fail. - * - * @param operations A list of offline conversion feed operations. - * @return The list of offline conversion feed results (in the same order as the operations). - * @throws {@link ApiException} if problems occurred while applying offline conversions. - */ - public function mutate($operations) { - $args = new OfflineConversionFeedServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ProductServiceService.php b/src/Google/Api/Ads/AdWords/v201402/ProductServiceService.php deleted file mode 100755 index a8ac62939..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ProductServiceService.php +++ /dev/null @@ -1,4035 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Date", false)) { - /** - * Represents a date. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Date { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var Date - */ - public $min; - - /** - * @access public - * @var Date - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ProductService", false)) { - /** - * A {@link Criterion} which describes the product or service an Ad is targeting. A product and - * service criterion can be used to derive a group of {@link KeywordSet} by AdWords Express. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductService extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var string - */ - public $locale; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $locale = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->locale = $locale; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ProductServiceServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the {@link ProductService}s that meet the criteria set in the given selector. Only a - * limited number of {@link ProductService}s are returned. - * - * @param selector the selector specifying the product services to return - * @return list of product services identified by the selector - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductServiceServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("ProductServiceServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductServiceServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ProductServicePage - */ - 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. - * - * - * - * 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ProductServicePage", false)) { - /** - * Contains a page of {@link ProductService}s with no stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductServicePage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ProductServicePage"; - - /** - * @access public - * @var ProductService[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("ProductServiceService", false)) { - /** - * ProductServiceService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductServiceService extends AdWordsSoapClient { - - const SERVICE_NAME = "ProductServiceService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201402/ProductServiceService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201402/ProductServiceService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "Criterion" => "Criterion", - "DatabaseError" => "DatabaseError", - "Date" => "Date", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Placement" => "Placement", - "Predicate" => "Predicate", - "Product" => "Product", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "ProductService" => "ProductService", - "ProductServicePage" => "ProductServicePage", - "NoStatsPage" => "NoStatsPage", - "get" => "ProductServiceServiceGet", - "getResponse" => "ProductServiceServiceGetResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the {@link ProductService}s that meet the criteria set in the given selector. Only a - * limited number of {@link ProductService}s are returned. - * - * @param selector the selector specifying the product services to return - * @return list of product services identified by the selector - */ - public function get($selector) { - $args = new ProductServiceServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/PromotionService.php b/src/Google/Api/Ads/AdWords/v201402/PromotionService.php deleted file mode 100755 index c16bdfd4c..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/PromotionService.php +++ /dev/null @@ -1,5533 +0,0 @@ -streetAddress = $streetAddress; - $this->streetAddress2 = $streetAddress2; - $this->cityName = $cityName; - $this->provinceCode = $provinceCode; - $this->provinceName = $provinceName; - $this->postalCode = $postalCode; - $this->countryCode = $countryCode; - } - - } -} - -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.

- * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Date", false)) { - /** - * Represents a date. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Date { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateRange", false)) { - /** - * Represents a range of dates that has either an upper or a lower bound. - * The format for the date is YYYYMMDD. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateRange { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateRange"; - - /** - * @access public - * @var Date - */ - public $min; - - /** - * @access public - * @var Date - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("GeoPoint", false)) { - /** - * Specifies a geo location with the supplied latitude/longitude. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GeoPoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "GeoPoint"; - - /** - * @access public - * @var integer - */ - public $latitudeInMicroDegrees; - - /** - * @access public - * @var integer - */ - public $longitudeInMicroDegrees; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($latitudeInMicroDegrees = null, $longitudeInMicroDegrees = null) { - $this->latitudeInMicroDegrees = $latitudeInMicroDegrees; - $this->longitudeInMicroDegrees = $longitudeInMicroDegrees; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This represents an operation that includes an operator and an operand - * specified type. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * Specifies how the resulting information should be sorted. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Contains the results from a get call. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("Proximity", false)) { - /** - * Represents a Proximity Criterion. - * - * A proximity is an area within a certain radius of a point with the center point being described - * by a lat/long pair. The caller may also alternatively provide address fields which will be - * geocoded into a lat/long pair. Note: If a geoPoint value is provided, the address is not - * used for calculating the lat/long to target. - *

- * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Proximity extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity"; - - /** - * @access public - * @var GeoPoint - */ - public $geoPoint; - - /** - * @access public - * @var tnsProximityDistanceUnits - */ - public $radiusDistanceUnits; - - /** - * @access public - * @var double - */ - public $radiusInUnits; - - /** - * @access public - * @var Address - */ - public $address; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($geoPoint = null, $radiusDistanceUnits = null, $radiusInUnits = null, $address = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->geoPoint = $geoPoint; - $this->radiusDistanceUnits = $radiusDistanceUnits; - $this->radiusInUnits = $radiusInUnits; - $this->address = $address; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * A generic selector to specify the type of information to return. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("SelectorError", false)) { - /** - * Represents possible error codes for {@link Selector}. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError"; - - /** - * @access public - * @var tnsSelectorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * The types of criteria. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * This represents an operator that may be presented to an adsapi service. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Defines the valid set of operators. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("ProximityDistanceUnits", false)) { - /** - * The radius distance is expressed in either kilometers or miles. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProximityDistanceUnits { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Proximity.DistanceUnits"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SelectorErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SelectorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SelectorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * Possible orders of sorting. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Creative", false)) { - /** - * Creative for a text ad. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Creative { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "Creative"; - - /** - * @access public - * @var string - */ - public $headline; - - /** - * @access public - * @var string - */ - public $line1; - - /** - * @access public - * @var string - */ - public $line2; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($headline = null, $line1 = null, $line2 = null) { - $this->headline = $headline; - $this->line1 = $line1; - $this->line2 = $line2; - } - - } -} - -if (!class_exists("ExpressSoapHeader", false)) { - /** - * {@link SoapHeader} for AdWords Express services. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExpressSoapHeader extends SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ExpressSoapHeader"; - - /** - * @access public - * @var integer - */ - public $expressBusinessId; - - /** - * @access public - * @var string - */ - public $pageId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($expressBusinessId = null, $pageId = null, $clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - parent::__construct(); - $this->expressBusinessId = $expressBusinessId; - $this->pageId = $pageId; - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("KeywordSet", false)) { - /** - * A keyword set based {@link Criterion}. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordSet extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "KeywordSet"; - - /** - * @access public - * @var string - */ - public $keywordSetId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var boolean - */ - public $deprecated; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($keywordSetId = null, $name = null, $deprecated = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->keywordSetId = $keywordSetId; - $this->name = $name; - $this->deprecated = $deprecated; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NegativeCriterion", false)) { - /** - * A negative criterion. It wraps a {@link Criterion} and will be associated with an ad group as a - * {@link com.google.ads.api.services.campaignmgmt.criterion.adgroupcriterion.NegativeAdGroupCriterion} - * . - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeCriterion extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "NegativeCriterion"; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterion = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->criterion = $criterion; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NegativeKeyword", false)) { - /** - * Criterion to mark a keyword is negative keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NegativeKeyword extends Keyword { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "NegativeKeyword"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - } - - } -} - -if (!class_exists("NoStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NoStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "NoStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("PhoneNumber", false)) { - /** - * Phone number which contains the phone number string plus the region that the number is to be - * from. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PhoneNumber { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PhoneNumber"; - - /** - * @access public - * @var tnsRegionCode - */ - public $regionCode; - - /** - * @access public - * @var string - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($regionCode = null, $number = null) { - $this->regionCode = $regionCode; - $this->number = $number; - } - - } -} - -if (!class_exists("ProductService", false)) { - /** - * A {@link Criterion} which describes the product or service an Ad is targeting. A product and - * service criterion can be used to derive a group of {@link KeywordSet} by AdWords Express. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductService extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "ProductService"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var string - */ - public $locale; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $locale = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->locale = $locale; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Promotion", false)) { - /** - * A promotion for a business. It contains all the user specified data as needed by AdWords Express - * to generate AdWords campaigns. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Promotion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "Promotion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsPromotionStatus - */ - public $status; - - /** - * @access public - * @var Creative[] - */ - public $creatives; - - /** - * @access public - * @var string - */ - public $destinationUrl; - - /** - * @access public - * @var PhoneNumber - */ - public $phoneNumber; - - /** - * @access public - * @var boolean - */ - public $streetAddressVisible; - - /** - * @access public - * @var boolean - */ - public $callTrackingEnabled; - - /** - * @access public - * @var Money - */ - public $budget; - - /** - * @access public - * @var Criterion[] - */ - public $criteria; - - /** - * @access public - * @var integer[] - */ - public $campaignIds; - - /** - * @access public - * @var Money - */ - public $remainingBudget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $creatives = null, $destinationUrl = null, $phoneNumber = null, $streetAddressVisible = null, $callTrackingEnabled = null, $budget = null, $criteria = null, $campaignIds = null, $remainingBudget = null) { - $this->id = $id; - $this->name = $name; - $this->status = $status; - $this->creatives = $creatives; - $this->destinationUrl = $destinationUrl; - $this->phoneNumber = $phoneNumber; - $this->streetAddressVisible = $streetAddressVisible; - $this->callTrackingEnabled = $callTrackingEnabled; - $this->budget = $budget; - $this->criteria = $criteria; - $this->campaignIds = $campaignIds; - $this->remainingBudget = $remainingBudget; - } - - } -} - -if (!class_exists("PromotionError", false)) { - /** - * Promotion related errors for AdWords Express. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PromotionError"; - - /** - * @access public - * @var tnsPromotionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PromotionOperation", false)) { - /** - * A typed {@link Operation} class that uses an instance of {@link Promotion} as its operand. - * - *

Note: The REMOVE operator is not - * supported. To remove a {@link Promotion}, set its {@link Promotion#status status} to - * DELETED.

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PromotionOperation"; - - /** - * @access public - * @var Promotion - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("PromotionPage", false)) { - /** - * Contains a page of {@link Promotion}s with no stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionPage extends NoStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PromotionPage"; - - /** - * @access public - * @var Promotion[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("PromotionStatus", false)) { - /** - * Statuses of a promotion. - * - *

When a promotion status is set to UPGRADED_TO_ADWORDS, the corresponding campaigns will be - * migrated to AdWords. Adwords Express will no longer manage the campaigns. Instead, advertisers - * need to use the AdWords API and/or UI to manage the campaigns. - *

Please note: it is one way migration from Adwords Express to AdWords. There is no way to - * undo the migration currently. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "Promotion.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("PromotionErrorReason", false)) { - /** - * Reason behind the {@code PromotionError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "PromotionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCode", false)) { - /** - * A region (country, territory, continent, etc), as defined by Unicode's - * "CLDR", itself based on ISO 3166 (UN country codes). - * - *

See: - * - * http://unicode.org/cldr/charts/supplemental/territory_containment_un_m_49.html - * - *

It contains no behavior, but is the authoritative definition of Region - * identity in java Google code. - * - *

Do: - *

    - *
  • use it everywhere you need to compare regions
  • - *
  • use it in all APIs that take/return a region (such as a country), - * particularly all public APIs
  • - *
  • get the instance corresponding to an CLDR code using {@link #forString} - *
  • - *
  • get the String CLDR code with {@link #toString}
  • - *
  • use the String CLDR code in your DB as a key to currencies
  • - *
  • if your API supports only a subset of these codes, make sure to - * validate (e.g. by creating an EnumSet and using Precondition) - *
  • put your project-specific region-related information in a class under - * your project root, using an EnumMap or BiMap to map these Regions to your - * objects. - *
  • - *
- * - * Do not: - *
    - *
  • depend on the ordinal of a region, for example using {@link #ordinal()} - * or depending on the index of a particular region in the {@link #values} - * array. - *
  • depend on the comparison order of regions, via - * {@link Enum#compareTo(Enum)}), or via the iteration order of an - * EnumSet, etc. - *
  • use {@link #valueOf} or {@link #name()}. The CLDR numeric codes aren't - * valid for java, so they were prepended by "UN" (as in "UN001" for the - * CLDR code "001"). - *
  • assume that these are the same as the two-letter ISO codes. Oftentimes - * they will be, but CLDR guarantees stability, so ISO codes that change - * will be different from the entries in this enum. - *
- * - * This enum does not: - *
    - *
  • have i18n features
  • - *
  • have application-specific data
  • - *
- * - * These concerns will be addressed by other classes, some in - * application-specific packages, others in common.base.i18n. The latter ones - * will be listed with "see" tags in this class. - * This class does not supply methods for getting information about regions. - * For those methods, see {@link RegionInfo}. - * - *

Note that not all regions have a "two-letter" country code. Instead, some - * have a three digit number -- the UN M.49 (United Nations) area code. - * These are the enum items prepended with "UN". See: - * - *

    - *
  • http://unstats.un.org/unsd/methods/m49/m49alpha.htm - *
  • http://unstats.un.org/unsd/methods/m49/m49.htm - *
- * - *

Also note that CLDR -- contrary to ISO -- guarantees non-reuse of - * country codes. Thus, though most times CLDR codes are the same as the ISO - * codes, sometimes they are not. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCode { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = "RegionCode"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PromotionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the promotions that meet the criteria set in the given selector. - * @param selector the selector specifying the AdWords Express promotion to return - * @return list of AdWords Express promotion identified by the selector - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("PromotionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var PromotionPage - */ - 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("PromotionServiceMutate", false)) { - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Performs the given {@link PromotionOperation}. - * @param operations list of unique operations; the same AdWords Express promotion cannot be - * specified in more than one operation - * @return the updated AdWords Express promotion - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var PromotionOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("PromotionServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Promotion[] - */ - 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. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * - * - * - * Structure to specify an address location. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("PromotionService", false)) { - /** - * PromotionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PromotionService extends AdWordsSoapClient { - - const SERVICE_NAME = "PromotionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/express/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/express/v201402/PromotionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/express/v201402/PromotionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "Address" => "Address", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "ComparableValue" => "ComparableValue", - "Criterion" => "Criterion", - "DatabaseError" => "DatabaseError", - "Date" => "Date", - "DateError" => "DateError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "GeoPoint" => "GeoPoint", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "Language" => "Language", - "Location" => "Location", - "LongValue" => "LongValue", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "Money" => "Money", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "Operation" => "Operation", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Page" => "Page", - "Paging" => "Paging", - "Placement" => "Placement", - "Predicate" => "Predicate", - "Product" => "Product", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "Proximity" => "Proximity", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "Selector" => "Selector", - "SelectorError" => "SelectorError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "LocationTargetingStatus" => "LocationTargetingStatus", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "Proximity.DistanceUnits" => "ProximityDistanceUnits", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SelectorError.Reason" => "SelectorErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "Creative" => "Creative", - "ExpressSoapHeader" => "ExpressSoapHeader", - "KeywordSet" => "KeywordSet", - "NegativeCriterion" => "NegativeCriterion", - "NegativeKeyword" => "NegativeKeyword", - "NoStatsPage" => "NoStatsPage", - "PhoneNumber" => "PhoneNumber", - "ProductService" => "ProductService", - "Promotion" => "Promotion", - "PromotionError" => "PromotionError", - "PromotionOperation" => "PromotionOperation", - "PromotionPage" => "PromotionPage", - "Promotion.Status" => "PromotionStatus", - "PromotionError.Reason" => "PromotionErrorReason", - "RegionCode" => "RegionCode", - "get" => "PromotionServiceGet", - "getResponse" => "PromotionServiceGetResponse", - "mutate" => "PromotionServiceMutate", - "mutateResponse" => "PromotionServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Retrieves the promotions that meet the criteria set in the given selector. - * @param selector the selector specifying the AdWords Express promotion to return - * @return list of AdWords Express promotion identified by the selector - */ - public function get($selector) { - $args = new PromotionServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, SET. - * - * - * - * Performs the given {@link PromotionOperation}. - * @param operations list of unique operations; the same AdWords Express promotion cannot be - * specified in more than one operation - * @return the updated AdWords Express promotion - */ - public function mutate($operations) { - $args = new PromotionServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/ReportDefinitionService.php b/src/Google/Api/Ads/AdWords/v201402/ReportDefinitionService.php deleted file mode 100755 index 96de292d8..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/ReportDefinitionService.php +++ /dev/null @@ -1,2603 +0,0 @@ -enumValue = $enumValue; - $this->enumDisplayValue = $enumDisplayValue; - } - - } -} - -if (!class_exists("ReportDefinitionField", false)) { - /** - * Represents the fields that can be used to create a ReportDefinition. - * This class allows the user to query the list of fields applicable to a - * given report type. Consumers of reports will be able use the retrieved - * fields through the {@link ReportDefinitionService#getReportFields} - * api and run the corresponding reports. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReportDefinitionField { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReportDefinitionField"; - - /** - * @access public - * @var string - */ - public $fieldName; - - /** - * @access public - * @var string - */ - public $displayFieldName; - - /** - * @access public - * @var string - */ - public $xmlAttributeName; - - /** - * @access public - * @var string - */ - public $fieldType; - - /** - * @access public - * @var string[] - */ - public $enumValues; - - /** - * @access public - * @var boolean - */ - public $canSelect; - - /** - * @access public - * @var boolean - */ - public $canFilter; - - /** - * @access public - * @var boolean - */ - public $isEnumType; - - /** - * @access public - * @var boolean - */ - public $isBeta; - - /** - * @access public - * @var EnumValuePair[] - */ - public $enumValuePairs; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fieldName = null, $displayFieldName = null, $xmlAttributeName = null, $fieldType = null, $enumValues = null, $canSelect = null, $canFilter = null, $isEnumType = null, $isBeta = null, $enumValuePairs = null) { - $this->fieldName = $fieldName; - $this->displayFieldName = $displayFieldName; - $this->xmlAttributeName = $xmlAttributeName; - $this->fieldType = $fieldType; - $this->enumValues = $enumValues; - $this->canSelect = $canSelect; - $this->canFilter = $canFilter; - $this->isEnumType = $isEnumType; - $this->isBeta = $isBeta; - $this->enumValuePairs = $enumValuePairs; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * The single reason for the authentication failure. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotWhitelistedErrorReason", false)) { - /** - * The single reason for the whitelist error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReportDefinitionReportType", false)) { - /** - * Enums for report types. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReportDefinitionReportType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReportDefinition.ReportType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReportDefinitionErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * a {@link ReportDefinitionService#mutate(java.util.List)} operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReportDefinitionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReportDefinitionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("GetReportFields", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the available report fields for a given report type. - * - * @param reportType The type of report. - * @return The list of available report fields. Each - * {@link ReportDefinitionField} encapsulates the field name, the - * field data type, and the enum values (if the field's type is - * {@code enum}). - * @throws ApiException if a problem occurred while fetching the - * ReportDefinitionField information. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetReportFields { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var tnsReportDefinitionReportType - */ - public $reportType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reportType = null) { - $this->reportType = $reportType; - } - - } -} - -if (!class_exists("GetReportFieldsResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetReportFieldsResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var ReportDefinitionField[] - */ - 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("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotWhitelistedError", false)) { - /** - * Indicates that the customer is not whitelisted for accessing the API. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotWhitelistedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotWhitelistedError"; - - /** - * @access public - * @var tnsNotWhitelistedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReportDefinitionError", false)) { - /** - * Encapsulates the errors that can be thrown during {@link ReportDefinition} - * mutate operation. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReportDefinitionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReportDefinitionError"; - - /** - * @access public - * @var tnsReportDefinitionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("ReportDefinitionService", false)) { - /** - * ReportDefinitionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReportDefinitionService extends AdWordsSoapClient { - - const SERVICE_NAME = "ReportDefinitionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/ReportDefinitionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/ReportDefinitionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "DateError" => "DateError", - "DistinctError" => "DistinctError", - "EnumValuePair" => "EnumValuePair", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NotEmptyError" => "NotEmptyError", - "NotWhitelistedError" => "NotWhitelistedError", - "NullError" => "NullError", - "OperatorError" => "OperatorError", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "ReportDefinitionError" => "ReportDefinitionError", - "ReportDefinitionField" => "ReportDefinitionField", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NotWhitelistedError.Reason" => "NotWhitelistedErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperatorError.Reason" => "OperatorErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "ReportDefinition.ReportType" => "ReportDefinitionReportType", - "ReportDefinitionError.Reason" => "ReportDefinitionErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "getReportFields" => "GetReportFields", - "getReportFieldsResponse" => "GetReportFieldsResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns the available report fields for a given report type. - * - * @param reportType The type of report. - * @return The list of available report fields. Each - * {@link ReportDefinitionField} encapsulates the field name, the - * field data type, and the enum values (if the field's type is - * {@code enum}). - * @throws ApiException if a problem occurred while fetching the - * ReportDefinitionField information. - */ - public function getReportFields($reportType) { - $args = new GetReportFields($reportType); - $result = $this->__soapCall("getReportFields", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/SharedCriterionService.php b/src/Google/Api/Ads/AdWords/v201402/SharedCriterionService.php deleted file mode 100755 index 7e22040da..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/SharedCriterionService.php +++ /dev/null @@ -1,4036 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * This field must be greater than or equal to 0. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * This field is required and should not be {@code null}. - * This string must not be empty. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ApiError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Indicates that this instance is a subtype of ApplicationException. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * This field must contain distinct elements. - * This field must not contain {@code null} elements. - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("SharedCriterion", false)) { - /** - * This field can be selected using the value "SharedSetId".This field can be filtered on. - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterion"; - - /** - * @access public - * @var integer - */ - public $sharedSetId; - - /** - * @access public - * @var Criterion - */ - public $criterion; - - /** - * @access public - * @var boolean - */ - public $negative; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($sharedSetId = null, $criterion = null, $negative = null) { - $this->sharedSetId = $sharedSetId; - $this->criterion = $criterion; - $this->negative = $negative; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Indicates that this instance is a subtype of ListReturnValue. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Indicates that this instance is a subtype of Page. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("Operator", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SharedCriterionErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionUserListMembershipStatus", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SharedCriterionServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of SharedCriterion that meets the selector criteria. - * - * @param selector filters the criteria returned - * @return The list of SharedCriterion - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("SharedCriterionServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedCriterionPage - */ - 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("SharedCriterionServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Adds, removes criteria in a shared set. - * - * @param operations A list of unique operations - * @return The list of updated SharedCriterion, returned in the same order as the - * {@code operations} array. - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedCriterionOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("SharedCriterionServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedCriterionReturnValue - */ - 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("AuthenticationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SharedCriterionError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterionError"; - - /** - * @access public - * @var tnsSharedCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * This is enabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("SharedCriterionOperation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterionOperation"; - - /** - * @access public - * @var SharedCriterion - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("SharedCriterionPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterionPage"; - - /** - * @access public - * @var SharedCriterion[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null, $totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->entries = $entries; - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("SharedCriterionReturnValue", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedCriterionReturnValue"; - - /** - * @access public - * @var SharedCriterion[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("SharedCriterionService", false)) { - /** - * SharedCriterionService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedCriterionService extends AdWordsSoapClient { - - const SERVICE_NAME = "SharedCriterionService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/SharedCriterionService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/SharedCriterionService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CriterionError" => "CriterionError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "Placement" => "Placement", - "Predicate" => "Predicate", - "ProductConditionOperand" => "ProductConditionOperand", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SharedCriterionError" => "SharedCriterionError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "DatabaseError" => "DatabaseError", - "ProductCondition" => "ProductCondition", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Product" => "Product", - "Selector" => "Selector", - "Criterion" => "Criterion", - "SharedCriterion" => "SharedCriterion", - "SharedCriterionOperation" => "SharedCriterionOperation", - "SharedCriterionPage" => "SharedCriterionPage", - "SharedCriterionReturnValue" => "SharedCriterionReturnValue", - "ListReturnValue" => "ListReturnValue", - "Operation" => "Operation", - "Page" => "Page", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SharedCriterionError.Reason" => "SharedCriterionErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "get" => "SharedCriterionServiceGet", - "getResponse" => "SharedCriterionServiceGetResponse", - "mutate" => "SharedCriterionServiceMutate", - "mutateResponse" => "SharedCriterionServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of SharedCriterion that meets the selector criteria. - * - * @param selector filters the criteria returned - * @return The list of SharedCriterion - * @throws ApiException - */ - public function get($selector) { - $args = new SharedCriterionServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * The following {@link Operator}s are supported: ADD, REMOVE. - * - * - * - * Adds, removes criteria in a shared set. - * - * @param operations A list of unique operations - * @return The list of updated SharedCriterion, returned in the same order as the - * {@code operations} array. - * @throws ApiException - */ - public function mutate($operations) { - $args = new SharedCriterionServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/SharedSetService.php b/src/Google/Api/Ads/AdWords/v201402/SharedSetService.php deleted file mode 100755 index 4dfe888b4..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/SharedSetService.php +++ /dev/null @@ -1,3612 +0,0 @@ -min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("OrderBy", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OrderBy { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OrderBy"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsSortOrder - */ - public $sortOrder; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $sortOrder = null) { - $this->field = $field; - $this->sortOrder = $sortOrder; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * This field must be greater than or equal to 0. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Predicate", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Predicate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate"; - - /** - * @access public - * @var string - */ - public $field; - - /** - * @access public - * @var tnsPredicateOperator - */ - public $operator; - - /** - * @access public - * @var string[] - */ - public $values; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($field = null, $operator = null, $values = null) { - $this->field = $field; - $this->operator = $operator; - $this->values = $values; - } - - } -} - -if (!class_exists("SharedSet", false)) { - /** - * This field can be selected using the value "SharedSetId".This field can be filtered on. - * This field is required and should not be {@code null} when it is contained within {@link Operator}s : SET, REMOVE. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSet"; - - /** - * @access public - * @var integer - */ - public $sharedSetId; - - /** - * @access public - * @var string - */ - public $name; - - /** - * @access public - * @var tnsSharedSetType - */ - public $type; - - /** - * @access public - * @var integer - */ - public $memberCount; - - /** - * @access public - * @var integer - */ - public $referenceCount; - - /** - * @access public - * @var tnsSharedSetStatus - */ - 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($sharedSetId = null, $name = null, $type = null, $memberCount = null, $referenceCount = null, $status = null) { - $this->sharedSetId = $sharedSetId; - $this->name = $name; - $this->type = $type; - $this->memberCount = $memberCount; - $this->referenceCount = $referenceCount; - $this->status = $status; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("ListReturnValue", false)) { - /** - * Indicates that this instance is a subtype of ListReturnValue. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ListReturnValue"; - - /** - * @access public - * @var string - */ - public $ListReturnValueType; - private $_parameterMap = array( - "ListReturnValue.Type" => "ListReturnValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ListReturnValueType = null) { - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("Operation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Operation"; - - /** - * @access public - * @var tnsOperator - */ - public $operator; - - /** - * @access public - * @var string - */ - public $OperationType; - private $_parameterMap = array( - "Operation.Type" => "OperationType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $OperationType = null) { - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("Page", false)) { - /** - * Indicates that this instance is a subtype of Page. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Page"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var string - */ - public $PageType; - private $_parameterMap = array( - "Page.Type" => "PageType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ApiError", false)) { - /** - * Indicates that this instance is a subtype of ApiError. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Indicates that this instance is a subtype of ApplicationException. - * Although this field is returned in the response, it is ignored on input - * and cannot be selected. Specify xsi:type instead. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("Selector", false)) { - /** - * This field must contain distinct elements. - * This field must not contain {@code null} elements. - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Selector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Selector"; - - /** - * @access public - * @var string[] - */ - public $fields; - - /** - * @access public - * @var Predicate[] - */ - public $predicates; - - /** - * @access public - * @var DateRange - */ - public $dateRange; - - /** - * @access public - * @var OrderBy[] - */ - public $ordering; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($fields = null, $predicates = null, $dateRange = null, $ordering = null, $paging = null) { - $this->fields = $fields; - $this->predicates = $predicates; - $this->dateRange = $dateRange; - $this->ordering = $ordering; - $this->paging = $paging; - } - - } -} - -if (!class_exists("AuthenticationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("NewEntityCreationErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("Operator", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Operator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "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() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PagingErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("PredicateOperator", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PredicateOperator { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Predicate.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() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SharedSetStatus", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSet.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("SharedSetErrorReason", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SharedSetType", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SizeLimitErrorReason", false)) { - /** - * Used for return value only. An enumeration could not be processed, typically due to incompatibility with your WSDL version. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SortOrder", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SortOrder { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SortOrder"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SharedSetServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of SharedSets based on the given selector. - * @param selector the selector specifying the query - * @return a list of SharedSet entities that meet the criterion specified - * by the selector - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var Selector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("SharedSetServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedSetPage - */ - 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("SharedSetServiceMutate", false)) { - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * @param operations the operations to apply - * @return the modified CriterionList entities - * @throws ApiException - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetServiceMutate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedSetOperation[] - */ - public $operations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operations = null) { - $this->operations = $operations; - } - - } -} - -if (!class_exists("SharedSetServiceMutateResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetServiceMutateResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var SharedSetReturnValue - */ - 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("AuthenticationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NewEntityCreationError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NewEntityCreationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NewEntityCreationError"; - - /** - * @access public - * @var tnsNewEntityCreationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PagingError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PagingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PagingError"; - - /** - * @access public - * @var tnsPagingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SharedSetError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetError"; - - /** - * @access public - * @var tnsSharedSetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SharedSetOperation", false)) { - /** - * This field is required and should not be {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetOperation extends Operation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetOperation"; - - /** - * @access public - * @var SharedSet - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null, $operator = null, $OperationType = null) { - parent::__construct(); - $this->operand = $operand; - $this->operator = $operator; - $this->OperationType = $OperationType; - } - - } -} - -if (!class_exists("SharedSetReturnValue", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetReturnValue extends ListReturnValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetReturnValue"; - - /** - * @access public - * @var SharedSet[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ListReturnValueType = null) { - parent::__construct(); - $this->value = $value; - $this->ListReturnValueType = $ListReturnValueType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullStatsPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullStatsPage extends Page { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NullStatsPage"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $PageType = null) { - parent::__construct(); - $this->totalNumEntries = $totalNumEntries; - $this->PageType = $PageType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("SharedSetPage", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetPage extends NullStatsPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SharedSetPage"; - - /** - * @access public - * @var SharedSet[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($entries = null) { - parent::__construct(); - $this->entries = $entries; - } - - } -} - -if (!class_exists("SharedSetService", false)) { - /** - * SharedSetService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SharedSetService extends AdWordsSoapClient { - - const SERVICE_NAME = "SharedSetService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/cm/v201402/SharedSetService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/cm/v201402/SharedSetService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "DateRange" => "DateRange", - "DistinctError" => "DistinctError", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "NewEntityCreationError" => "NewEntityCreationError", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "OrderBy" => "OrderBy", - "Paging" => "Paging", - "PagingError" => "PagingError", - "Predicate" => "Predicate", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SharedSet" => "SharedSet", - "SharedSetError" => "SharedSetError", - "SharedSetOperation" => "SharedSetOperation", - "SharedSetPage" => "SharedSetPage", - "SharedSetReturnValue" => "SharedSetReturnValue", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "DatabaseError" => "DatabaseError", - "ListReturnValue" => "ListReturnValue", - "NullStatsPage" => "NullStatsPage", - "Operation" => "Operation", - "Page" => "Page", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "Selector" => "Selector", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "NewEntityCreationError.Reason" => "NewEntityCreationErrorReason", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "Operator" => "Operator", - "OperatorError.Reason" => "OperatorErrorReason", - "PagingError.Reason" => "PagingErrorReason", - "Predicate.Operator" => "PredicateOperator", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SharedSet.Status" => "SharedSetStatus", - "SharedSetError.Reason" => "SharedSetErrorReason", - "SharedSetType" => "SharedSetType", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "SortOrder" => "SortOrder", - "StringLengthError.Reason" => "StringLengthErrorReason", - "get" => "SharedSetServiceGet", - "getResponse" => "SharedSetServiceGetResponse", - "mutate" => "SharedSetServiceMutate", - "mutateResponse" => "SharedSetServiceMutateResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a list of SharedSets based on the given selector. - * @param selector the selector specifying the query - * @return a list of SharedSet entities that meet the criterion specified - * by the selector - * @throws ApiException - */ - public function get($selector) { - $args = new SharedSetServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field must not contain {@code null} elements. - * This field must contain at least one element. - * This field is required and should not be {@code null}. - * - * - * - * Applies the list of mutate operations. - * @param operations the operations to apply - * @return the modified CriterionList entities - * @throws ApiException - */ - public function mutate($operations) { - $args = new SharedSetServiceMutate($operations); - $result = $this->__soapCall("mutate", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/TargetingIdeaService.php b/src/Google/Api/Ads/AdWords/v201402/TargetingIdeaService.php deleted file mode 100755 index 9362239fc..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/TargetingIdeaService.php +++ /dev/null @@ -1,9098 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BidLandscapeLandscapePoint", false)) { - /** - * A set of estimates for a criterion's performance for a specific bid - * amount. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidLandscapeLandscapePoint { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidLandscape.LandscapePoint"; - - /** - * @access public - * @var Money - */ - public $bid; - - /** - * @access public - * @var integer - */ - public $clicks; - - /** - * @access public - * @var Money - */ - public $cost; - - /** - * @access public - * @var Money - */ - public $marginalCpc; - - /** - * @access public - * @var integer - */ - public $impressions; - - /** - * @access public - * @var integer - */ - public $promotedImpressions; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($bid = null, $clicks = null, $cost = null, $marginalCpc = null, $impressions = null, $promotedImpressions = null) { - $this->bid = $bid; - $this->clicks = $clicks; - $this->cost = $cost; - $this->marginalCpc = $marginalCpc; - $this->impressions = $impressions; - $this->promotedImpressions = $promotedImpressions; - } - - } -} - -if (!class_exists("BiddingError", false)) { - /** - * Represents bidding errors. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError"; - - /** - * @access public - * @var tnsBiddingErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("BudgetError", false)) { - /** - * A list of all the error codes being used by the common budget domain package. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError"; - - /** - * @access public - * @var tnsBudgetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionError", false)) { - /** - * Error class used for reporting criteria related errors. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError"; - - /** - * @access public - * @var tnsCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityCountLimitExceeded", false)) { - /** - * Signals that an entity count limit was exceeded for some level. - * For example, too many criteria for a campaign. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceeded extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded"; - - /** - * @access public - * @var tnsEntityCountLimitExceededReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $enclosingId; - - /** - * @access public - * @var integer - */ - public $limit; - - /** - * @access public - * @var string - */ - public $accountLimitType; - - /** - * @access public - * @var integer - */ - public $existingCount; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NetworkSetting", false)) { - /** - * Network settings for a Campaign. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NetworkSetting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NetworkSetting"; - - /** - * @access public - * @var boolean - */ - public $targetGoogleSearch; - - /** - * @access public - * @var boolean - */ - public $targetSearchNetwork; - - /** - * @access public - * @var boolean - */ - public $targetContentNetwork; - - /** - * @access public - * @var boolean - */ - public $targetPartnerSearchNetwork; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetGoogleSearch = null, $targetSearchNetwork = null, $targetContentNetwork = null, $targetPartnerSearchNetwork = null) { - $this->targetGoogleSearch = $targetGoogleSearch; - $this->targetSearchNetwork = $targetSearchNetwork; - $this->targetContentNetwork = $targetContentNetwork; - $this->targetPartnerSearchNetwork = $targetPartnerSearchNetwork; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Paging", false)) { - /** - * Specifies the page of results to return in the response. A page is specified - * by the result position to start at and the maximum number of results to - * return. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Paging { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Paging"; - - /** - * @access public - * @var integer - */ - public $startIndex; - - /** - * @access public - * @var integer - */ - public $numberResults; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($startIndex = null, $numberResults = null) { - $this->startIndex = $startIndex; - $this->numberResults = $numberResults; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Platform", false)) { - /** - * Represents Platform criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Platform extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Platform"; - - /** - * @access public - * @var string - */ - public $platformName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($platformName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->platformName = $platformName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("PolicyViolationError", false)) { - /** - * Represents violations of a single policy by some text in a field. - * - * Violations of a single policy by the same string in multiple places - * within a field is reported in one instance of this class and only one - * exemption needs to be filed. - * Violations of a single policy by two different strings is reported - * as two separate instances of this class. - * - * e.g. If 'ACME' violates 'capitalization' and occurs twice in a text ad it - * would be represented by one instance. If the ad also contains 'INC' which - * also violates 'capitalization' it would be represented in a separate - * instance. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError"; - - /** - * @access public - * @var PolicyViolationKey - */ - public $key; - - /** - * @access public - * @var string - */ - public $externalPolicyName; - - /** - * @access public - * @var string - */ - public $externalPolicyUrl; - - /** - * @access public - * @var string - */ - public $externalPolicyDescription; - - /** - * @access public - * @var boolean - */ - public $isExemptable; - - /** - * @access public - * @var PolicyViolationErrorPart[] - */ - public $violatingParts; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("PolicyViolationErrorPart", false)) { - /** - * Points to a substring within an ad field or criterion. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationErrorPart { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationError.Part"; - - /** - * @access public - * @var integer - */ - public $index; - - /** - * @access public - * @var integer - */ - public $length; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $length = null) { - $this->index = $index; - $this->length = $length; - } - - } -} - -if (!class_exists("PolicyViolationKey", false)) { - /** - * Key of the violation. The key is used for referring to a violation when - * filing an exemption request. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PolicyViolationKey { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "PolicyViolationKey"; - - /** - * @access public - * @var string - */ - public $policyName; - - /** - * @access public - * @var string - */ - public $violatingText; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($policyName = null, $violatingText = null) { - $this->policyName = $policyName; - $this->violatingText = $violatingText; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StatsQueryError", false)) { - /** - * Represents possible error codes when querying for stats. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError"; - - /** - * @access public - * @var tnsStatsQueryErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DataEntry", false)) { - /** - * The base class of all return types of the table service. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DataEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DataEntry"; - - /** - * @access public - * @var string - */ - public $DataEntryType; - private $_parameterMap = array( - "DataEntry.Type" => "DataEntryType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($DataEntryType = null) { - $this->DataEntryType = $DataEntryType; - } - - } -} - -if (!class_exists("TargetError", false)) { - /** - * A list of all the error codes being used by the common targeting package. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError"; - - /** - * @access public - * @var tnsTargetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdGroupBidLandscapeType", false)) { - /** - * Used to specify the type of {@code AdGroupLandscape} - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidLandscapeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidLandscape.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("AdGroupCriterionErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceededCriteriaLimitType", false)) { - /** - * The entity type that exceeded the limit. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceededCriteriaLimitType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded.CriteriaLimitType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BiddingErrorReason", false)) { - /** - * Reason for bidding error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BiddingErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BiddingError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("BudgetErrorReason", false)) { - /** - * The reasons for the budget error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BudgetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BudgetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionType", false)) { - /** - * The types of criteria. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("CriterionErrorReason", false)) { - /** - * Concrete type of criterion is required for ADD and SET operations. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityCountLimitExceededReason", false)) { - /** - * Limits at various levels of the account. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityCountLimitExceededReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityCountLimitExceeded.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("StatsQueryErrorReason", false)) { - /** - * The reasons for errors when querying for stats. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsQueryErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "StatsQueryError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("TargetErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("AdFormatSpec", false)) { - /** - * A placement response object which provides information about one of the ad formats - * supported by a placement. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdFormatSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdFormatSpec"; - - /** - * @access public - * @var tnsSiteConstantsAdFormat - */ - public $format; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($format = null) { - $this->format = $format; - } - - } -} - -if (!class_exists("AdSpec", false)) { - /** - * Interface for ad specifications to implement. See individual spec - * documentation for more details on how to use each type, and - * {@link AdSpecListSearchParameter} to understand what these specs are for. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdSpec"; - - /** - * @access public - * @var DisplayAdSpec - */ - public $DisplayAdSpec; - - /** - * @access public - * @var InStreamAdSpec - */ - public $InStreamAdSpec; - - /** - * @access public - * @var TextAdSpec - */ - public $TextAdSpec; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($DisplayAdSpec = null, $InStreamAdSpec = null, $TextAdSpec = null) { - $this->DisplayAdSpec = $DisplayAdSpec; - $this->InStreamAdSpec = $InStreamAdSpec; - $this->TextAdSpec = $TextAdSpec; - } - - } -} - -if (!class_exists("Attribute", false)) { - /** - * {@link Attribute}s encompass the core information about a particular - * {@link com.google.ads.api.services.targetingideas.TargetingIdea}. Some - * attributes are for {@code KEYWORD} {@link IdeaType}s, some are for - * {@code PLACEMENT} {@link IdeaType}s, and some are for both. Ultimately, an - * {@link Attribute} instance simply wraps an actual value of interest. For - * example, {@link KeywordAttribute} wraps the keyword itself, while a - * {@link BooleanAttribute} simply wraps a boolean describing some information - * about the keyword idea. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "Attribute"; - - /** - * @access public - * @var string - */ - public $AttributeType; - private $_parameterMap = array( - "Attribute.Type" => "AttributeType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($AttributeType = null) { - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("BidLandscapeAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link BidLandscape} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidLandscapeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "BidLandscapeAttribute"; - - /** - * @access public - * @var BidLandscape - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("BooleanAttribute", false)) { - /** - * {@link Attribute} type that contains a boolean value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BooleanAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "BooleanAttribute"; - - /** - * @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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("CriterionAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link Criterion} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CriterionAttribute"; - - /** - * @access public - * @var Criterion - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("CurrencyCodeError", false)) { - /** - * Errors for currency codes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CurrencyCodeError"; - - /** - * @access public - * @var tnsCurrencyCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DisplayAdSpec", false)) { - /** - * Placement request/response object which provides details about display - * ad types, options, and other available configuration variables. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DisplayAdSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "DisplayAdSpec"; - - /** - * @access public - * @var DisplayType[] - */ - public $displayTypes; - - /** - * @access public - * @var tnsDisplayAdSpecActivationOption[] - */ - public $activationOptions; - - /** - * @access public - * @var DisplayAdSpecAdSizeSpec[] - */ - public $adSizeSpecs; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($displayTypes = null, $activationOptions = null, $adSizeSpecs = null) { - $this->displayTypes = $displayTypes; - $this->activationOptions = $activationOptions; - $this->adSizeSpecs = $adSizeSpecs; - } - - } -} - -if (!class_exists("DisplayAdSpecAdSizeSpec", false)) { - /** - * Specification for an ad size. This specification allows customization by - * display options for more fine-grained control over returns, so that - * customers can associate ad options with specific sizes. For example, - * suppose the customer in general would like to see placements with - * {@code DisplayOption.STANDARD} and {@code DisplayOption.POP_UNDER} - - * except for 300x250 ads which should only be STANDARD. The customer would - * create a {@code DisplayAdSpec} with {@code DisplayOption.STANDARD} and - * {@code DisplayOption.POP_UNDER}, and also send in an {@code AdSizeSpec} - * with {@code width} of 300, {@code} height of 250, and {@code displayOptionFilter} - * set to {@code DisplayOption.STANDARD}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DisplayAdSpecAdSizeSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "DisplayAdSpec.AdSizeSpec"; - - /** - * @access public - * @var integer - */ - public $width; - - /** - * @access public - * @var integer - */ - public $height; - - /** - * @access public - * @var tnsDisplayAdSpecActivationOption[] - */ - public $activationOptionFilter; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $activationOptionFilter = null) { - $this->width = $width; - $this->height = $height; - $this->activationOptionFilter = $activationOptionFilter; - } - - } -} - -if (!class_exists("DisplayType", false)) { - /** - * Base interface for types of display ads. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DisplayType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "DisplayType"; - - /** - * @access public - * @var FlashDisplayType - */ - public $FlashDisplayType; - - /** - * @access public - * @var HtmlDisplayType - */ - public $HtmlDisplayType; - - /** - * @access public - * @var ImageDisplayType - */ - public $ImageDisplayType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($FlashDisplayType = null, $HtmlDisplayType = null, $ImageDisplayType = null) { - $this->FlashDisplayType = $FlashDisplayType; - $this->HtmlDisplayType = $HtmlDisplayType; - $this->ImageDisplayType = $ImageDisplayType; - } - - } -} - -if (!class_exists("DoubleAttribute", false)) { - /** - * {@link Attribute} type that contains a double value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "DoubleAttribute"; - - /** - * @access public - * @var double - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("FlashDisplayType", false)) { - /** - * {@link DisplayType} implementation for Flash display ads. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class FlashDisplayType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "FlashDisplayType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("HtmlDisplayType", false)) { - /** - * HTML-specific options for display ads are contained within - * this class. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class HtmlDisplayType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "HtmlDisplayType"; - - /** - * @access public - * @var tnsHtmlDisplayTypeHtmlOption - */ - public $htmlOption; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($htmlOption = null) { - $this->htmlOption = $htmlOption; - } - - } -} - -if (!class_exists("IdeaTypeAttribute", false)) { - /** - * {@link Attribute} type that contains an {@link IdeaType} value. For example, - * if a {@link com.google.ads.api.services.targetingideas.TargetingIdea} - * represents a keyword idea, its {@link IdeaTypeAttribute} would contain a - * {@code KEYWORD} {@link IdeaType}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdeaTypeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IdeaTypeAttribute"; - - /** - * @access public - * @var tnsIdeaType - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("ImageDisplayType", false)) { - /** - * {@link DisplayType} implementation for images. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ImageDisplayType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "ImageDisplayType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("InStreamAdInfo", false)) { - /** - * Information specific to the instream ad format. Instream ads are video ads - * which play as part of the delivery of video content, either before, during, - * or after the content itself. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InStreamAdInfo { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "InStreamAdInfo"; - - /** - * @access public - * @var integer - */ - public $maxAdDuration; - - /** - * @access public - * @var integer - */ - public $minAdDuration; - - /** - * @access public - * @var integer - */ - public $medianAdDuration; - - /** - * @access public - * @var double - */ - public $preRollPercent; - - /** - * @access public - * @var double - */ - public $midRollPercent; - - /** - * @access public - * @var double - */ - public $postRollPercent; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($maxAdDuration = null, $minAdDuration = null, $medianAdDuration = null, $preRollPercent = null, $midRollPercent = null, $postRollPercent = null) { - $this->maxAdDuration = $maxAdDuration; - $this->minAdDuration = $minAdDuration; - $this->medianAdDuration = $medianAdDuration; - $this->preRollPercent = $preRollPercent; - $this->midRollPercent = $midRollPercent; - $this->postRollPercent = $postRollPercent; - } - - } -} - -if (!class_exists("InStreamAdInfoAttribute", false)) { - /** - * {@link Attribute} type that contains an {@link InStreamAdInfo} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InStreamAdInfoAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "InStreamAdInfoAttribute"; - - /** - * @access public - * @var InStreamAdInfo - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("InStreamAdSpec", false)) { - /** - * Placement request/response object which provides details about instream - * ad types, options, and other available configuration variables. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InStreamAdSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "InStreamAdSpec"; - - /** - * @access public - * @var tnsInStreamAdSpecInStreamType[] - */ - public $inStreamTypes; - - /** - * @access public - * @var integer[] - */ - public $durations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($inStreamTypes = null, $durations = null) { - $this->inStreamTypes = $inStreamTypes; - $this->durations = $durations; - } - - } -} - -if (!class_exists("IntegerAttribute", false)) { - /** - * {@link Attribute} type that contains an integer value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IntegerAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IntegerAttribute"; - - /** - * @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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("IntegerSetAttribute", false)) { - /** - * {@link Attribute} type that contains a Set of integer values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IntegerSetAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IntegerSetAttribute"; - - /** - * @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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("KeywordAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link Keyword} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "KeywordAttribute"; - - /** - * @access public - * @var Keyword - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("LongAttribute", false)) { - /** - * {@link Attribute} type that contains a long value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "LongAttribute"; - - /** - * @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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("LongComparisonOperation", false)) { - /** - * Object representing integer comparison operations. This is usually used within - * a particular - * {@link com.google.ads.api.services.targetingideas.search.SearchParameter} to - * specify the valid values requested for the specific - * {@link com.google.ads.api.services.common.optimization.attributes.Attribute}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongComparisonOperation { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "LongComparisonOperation"; - - /** - * @access public - * @var integer - */ - public $minimum; - - /** - * @access public - * @var integer - */ - public $maximum; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($minimum = null, $maximum = null) { - $this->minimum = $minimum; - $this->maximum = $maximum; - } - - } -} - -if (!class_exists("LongRangeAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link Range} of {@link LongValue} - * values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongRangeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "LongRangeAttribute"; - - /** - * @access public - * @var Range - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("MatchesRegexError", false)) { - /** - * Errors associated with a given string not matching the provided - * regular expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MatchesRegexError"; - - /** - * @access public - * @var tnsMatchesRegexErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("MoneyAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link Money} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MoneyAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MoneyAttribute"; - - /** - * @access public - * @var Money - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("MonthlySearchVolume", false)) { - /** - * A keyword response value representing search volume for a single month. An - * instance with a {@code null} count is valid, indicating that the information - * is unavailable. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MonthlySearchVolume { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MonthlySearchVolume"; - - /** - * @access public - * @var integer - */ - public $year; - - /** - * @access public - * @var integer - */ - public $month; - - /** - * @access public - * @var integer - */ - public $count; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $count = null) { - $this->year = $year; - $this->month = $month; - $this->count = $count; - } - - } -} - -if (!class_exists("MonthlySearchVolumeAttribute", false)) { - /** - * {@link Attribute} type that contains a list of {@link MonthlySearchVolume} - * values. The list contains the past 12 {@link MonthlySearchVolume}s - * (excluding the current month). The first item is the data for the most - * recent month and the last item is the data for the oldest month. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MonthlySearchVolumeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MonthlySearchVolumeAttribute"; - - /** - * @access public - * @var MonthlySearchVolume[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("OpportunityIdeaTypeAttribute", false)) { - /** - * {@link Attribute} type that contains an {@link OpportunityIdeaType} value. - * For example, if a - * {@link com.google.ads.api.services.optimization.bulkopportunity.OpportunityIdea} - * represents a keyword idea, its {@link OpportunityIdeaTypeAttribute} would - * contain a {@code KEYWORD} {@link OpportunityIdeaType}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OpportunityIdeaTypeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "OpportunityIdeaTypeAttribute"; - - /** - * @access public - * @var tnsOpportunityIdeaType - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("PlacementAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link Placement} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacementAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "PlacementAttribute"; - - /** - * @access public - * @var Placement - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("PlacementTypeAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link PlacementType} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacementTypeAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "PlacementTypeAttribute"; - - /** - * @access public - * @var tnsSiteConstantsPlacementType - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("Range", false)) { - /** - * Represents a range of values that has either an upper or a lower bound. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Range { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "Range"; - - /** - * @access public - * @var ComparableValue - */ - public $min; - - /** - * @access public - * @var ComparableValue - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($min = null, $max = null) { - $this->min = $min; - $this->max = $max; - } - - } -} - -if (!class_exists("SearchParameter", false)) { - /** - * A set of {@link SearchParameter}s are supplied to the - * {@link com.google.ads.api.services.targetingideas.TargetingIdeaSelector} - * to specify how the user wants to filter the set of all possible - * {@link com.google.ads.api.services.targetingideas.TargetingIdea}s. - * - * There is a {@link SearchParameter} for all types of inputs. - * {@link SearchParameter}s can conceptually be broken down into two types. - *

    - *
  • Input {@link SearchParameter}s provide the seed information from which - * ideas should be generated or statistic information is desired - * (e.g. {@link RelatedToQuerySearchParameter}, - * {@link RelatedToUrlSearchParameter}, etc). - * Such {@link SearchParameters} are required for valid requests.
  • - *
  • Filter {@link SearchParameter}s are used to trim down the results based - * on {@link com.google.ads.api.services.targetingideas.attributes.Attribute} - * related information (eg. {@link CompetitionSearchParameter}, etc.).
  • - *

- * - * A request should only contain one instance of each {@link SearchParameter}. - * - * NOTICE: Starting with version v201406, requests containing multiple - * instances of the same search parameter will be rejected. - *

One or more of the following {@link SearchParameter}s are required:
- *

  • {@link CategoryProductsAndServicesSearchParameter}
  • - *
  • {@link LocationSearchParameter}
  • - *
  • {@link RelatedToQuerySearchParameter}
  • - *
  • {@link RelatedToUrlSearchParameter}
  • - *
  • {@link SeedAdGroupIdSearchParameter}
  • - *

- *

{@link IdeaType} KEYWORD supports following {@link SearchParameter}s:
- *

    - *
  • {@link CategoryProductsAndServicesSearchParameter}
  • - *
  • {@link CompetitionSearchParameter}
  • - *
  • {@link ExcludedKeywordSearchParameter}
  • - *
  • {@link IdeaTextFilterSearchParameter}
  • - *
  • {@link IncludeAdultContentSearchParameter}
  • - *
  • {@link LanguageSearchParameter}
  • - *
  • {@link LocationSearchParameter}
  • - *
  • {@link NetworkSearchParameter}
  • - *
  • {@link RelatedToQuerySearchParameter}
  • - *
  • {@link RelatedToUrlSearchParameter}
  • - *
  • {@link SearchVolumeSearchParameter}
  • - *
  • {@link SeedAdGroupIdSearchParameter}
  • - *

- *

{@link IdeaType} PLACEMENT supports following {@link SearchParameter}s:
- *

    - *
  • {@link AdSpecListSearchParameter}
  • - *
  • {@link LanguageSearchParameter}
  • - *
  • {@link LocationSearchParameter}
  • - *
  • {@link PlacementTypeSearchParameter}
  • - *
  • {@link RelatedToQuerySearchParameter}
  • - *
  • {@link RelatedToUrlSearchParameter}
  • - *

- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "SearchParameter"; - - /** - * @access public - * @var string - */ - public $SearchParameterType; - private $_parameterMap = array( - "SearchParameter.Type" => "SearchParameterType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SearchParameterType = null) { - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("SearchVolumeSearchParameter", false)) { - /** - * A {@link SearchParameter} that specifies the level of search volume expected in results, - * and it has a direct relationship to - * {@link com.google.ads.api.services.targetingideas.external.AttributeType#SEARCH_VOLUME}. - * Absence of a {@link SearchVolumeSearchParameter} in a - * {@link com.google.ads.api.services.targetingideas.TargetingIdeaSelector} is - * equivalent to having no constraint on search volume specified. - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SearchVolumeSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "SearchVolumeSearchParameter"; - - /** - * @access public - * @var LongComparisonOperation - */ - public $operation; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operation = null, $SearchParameterType = null) { - parent::__construct(); - $this->operation = $operation; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("SeedAdGroupIdSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code KEYWORD} {@link IdeaType}s - * that specifies that the supplied AdGroup should be used as a seed - * for generating new ideas. For example, an AdGroup's keywords - * would be used to generate new and related keywords. - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SeedAdGroupIdSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "SeedAdGroupIdSearchParameter"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $SearchParameterType = null) { - parent::__construct(); - $this->adGroupId = $adGroupId; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("StringAttribute", false)) { - /** - * {@link Attribute} type that contains a string value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "StringAttribute"; - - /** - * @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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("TargetingIdea", false)) { - /** - * Represents a {@link TargetingIdea} returned by search criteria specified in - * the {@link TargetingIdeaSelector}. Targeting ideas are keywords or placements - * that are similar to those the user inputs. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdea { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TargetingIdea"; - - /** - * @access public - * @var Type_AttributeMapEntry[] - */ - public $data; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($data = null) { - $this->data = $data; - } - - } -} - -if (!class_exists("TargetingIdeaError", false)) { - /** - * Base error class for the - * {@link com.google.ads.api.services.targetingideas.TargetingIdeaService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TargetingIdeaError"; - - /** - * @access public - * @var tnsTargetingIdeaErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TargetingIdeaPage", false)) { - /** - * Contains a subset of {@link TargetingIdea}s from the search criteria - * specified by a {@link TargetingIdeaSelector}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaPage { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TargetingIdeaPage"; - - /** - * @access public - * @var integer - */ - public $totalNumEntries; - - /** - * @access public - * @var TargetingIdea[] - */ - public $entries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($totalNumEntries = null, $entries = null) { - $this->totalNumEntries = $totalNumEntries; - $this->entries = $entries; - } - - } -} - -if (!class_exists("TargetingIdeaSelector", false)) { - /** - * A descriptor for finding {@link TargetingIdea}s that match the specified criteria. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TargetingIdeaSelector"; - - /** - * @access public - * @var SearchParameter[] - */ - public $searchParameters; - - /** - * @access public - * @var tnsIdeaType - */ - public $ideaType; - - /** - * @access public - * @var tnsRequestType - */ - public $requestType; - - /** - * @access public - * @var tnsAttributeType[] - */ - public $requestedAttributeTypes; - - /** - * @access public - * @var Paging - */ - public $paging; - - /** - * @access public - * @var string - */ - public $localeCode; - - /** - * @access public - * @var string - */ - public $currencyCode; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($searchParameters = null, $ideaType = null, $requestType = null, $requestedAttributeTypes = null, $paging = null, $localeCode = null, $currencyCode = null) { - $this->searchParameters = $searchParameters; - $this->ideaType = $ideaType; - $this->requestType = $requestType; - $this->requestedAttributeTypes = $requestedAttributeTypes; - $this->paging = $paging; - $this->localeCode = $localeCode; - $this->currencyCode = $currencyCode; - } - - } -} - -if (!class_exists("TextAdSpec", false)) { - /** - * Specification for a text ad. The presence of a {@code TextAdSpec} in a - * request indicates that text ads are a desired result, and the presence - * of a {@code TextAdSpec} in a response indicates that there are text - * ads available in the requested inventory. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TextAdSpec { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TextAdSpec"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TrafficEstimatorError", false)) { - /** - * Base error class for - * {@link com.google.ads.api.services.trafficestimator.TrafficEstimatorService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorError"; - - /** - * @access public - * @var tnsTrafficEstimatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Type_AttributeMapEntry", false)) { - /** - * This represents an entry in a map with a key of type Type - * and value of type Attribute. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Type_AttributeMapEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "Type_AttributeMapEntry"; - - /** - * @access public - * @var tnsAttributeType - */ - public $key; - - /** - * @access public - * @var Attribute - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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("WebpageDescriptor", false)) { - /** - * Basic information about a webpage. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageDescriptor { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "WebpageDescriptor"; - - /** - * @access public - * @var string - */ - public $url; - - /** - * @access public - * @var string - */ - public $title; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($url = null, $title = null) { - $this->url = $url; - $this->title = $title; - } - - } -} - -if (!class_exists("WebpageDescriptorAttribute", false)) { - /** - * {@link Attribute} type that contains a {@link WebpageDescriptor} value. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class WebpageDescriptorAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "WebpageDescriptorAttribute"; - - /** - * @access public - * @var WebpageDescriptor - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("AttributeType", false)) { - /** - * Represents the type of - * {@link com.google.ads.api.services.common.optimization.attributes.Attribute}. - *

{@link IdeaType} KEYWORD supports the following {@link AttributeType}s:
- *

  • {@link #AVERAGE_CPC}
  • - *
  • {@link #CATEGORY_PRODUCTS_AND_SERVICES}
  • - *
  • {@link #COMPETITION}
  • - *
  • {@link #CRITERION}
  • - *
  • {@link #EXTRACTED_FROM_WEBPAGE}
  • - *
  • {@link #IDEA_TYPE}
  • - *
  • {@link #KEYWORD_TEXT}
  • - *
  • {@link #SEARCH_VOLUME}
  • - *
  • {@link #TARGETED_MONTHLY_SEARCHES}
  • - *
- *

{@link IdeaType} PLACEMENT supports the following {@link AttributeType}s:
- *

  • {@link #AD_TYPE_SPEC}
  • - *
  • {@link #APPROX_CONTENT_IMPRESSIONS_PER_DAY}
  • - *
  • {@link #CRITERION}
  • - *
  • {@link #IDEA_TYPE}
  • - *
  • {@link #IN_STREAM_AD_INFO}
  • - *
  • {@link #PLACEMENT_CATEGORY}
  • - *
  • {@link #PLACEMENT_NAME}
  • - *
  • {@link #PLACEMENT_TYPE}
  • - *
  • {@link #SAMPLE_URL}
  • - *
- * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AttributeType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AttributeType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CompetitionSearchParameterLevel", false)) { - /** - * An enumeration of possible values to be used in conjunction with the - * {@link CompetitionSearchParameter} to specify the granularity of - * competition to be filtered. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CompetitionSearchParameterLevel { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CompetitionSearchParameter.Level"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CurrencyCodeErrorReason", false)) { - /** - * Encodes the reason (cause) of a particular {@link CurrencyCodeError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CurrencyCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DisplayAdSpecActivationOption", false)) { - /** - * Activation options. Describes the ad's activated mode. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DisplayAdSpecActivationOption { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "DisplayAdSpec.ActivationOption"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("HtmlDisplayTypeHtmlOption", false)) { - /** - * Served by a third party. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class HtmlDisplayTypeHtmlOption { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "HtmlDisplayType.HtmlOption"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdeaType", false)) { - /** - * Represents the type of idea. - * This is disabled for AdX. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdeaType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IdeaType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("InStreamAdSpecInStreamType", false)) { - /** - * Display subtype. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InStreamAdSpecInStreamType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "InStreamAdSpec.InStreamType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MatchesRegexErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MatchesRegexError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OpportunityIdeaType", false)) { - /** - * Represents the type of opportunity. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OpportunityIdeaType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "OpportunityIdeaType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestType", false)) { - /** - * Represents the type of the request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "RequestType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SiteConstantsAdFormat", false)) { - /** - * Enumerates the ad formats which can be reported in search results. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SiteConstantsAdFormat { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "SiteConstants.AdFormat"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("SiteConstantsPlacementType", false)) { - /** - * A placement request and response value indicating the type of site or other medium - * (for example, a web page, in a feed, in a video) where ads will appear. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SiteConstantsPlacementType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "SiteConstants.PlacementType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TargetingIdeaErrorReason", false)) { - /** - * An enumeration of - * {@link com.google.ads.api.services.targetingideas.TargetingIdeaService} - * specific errors. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TargetingIdeaError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TrafficEstimatorErrorReason", false)) { - /** - * When the request with {@code null} campaign ID in - * {@link com.google.ads.api.services.trafficestimator.CampaignEstimateRequest} - * contains an - * {@link com.google.ads.api.services.trafficestimator.AdGroupEstimateRequest} - * with an ID. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TargetingIdeaServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a page of ideas that match the query described by the specified - * {@link TargetingIdeaSelector}. - * - *

The selector must specify a {@code paging} value, with {@code numberResults} set to 800 or - * less. Large result sets must be composed through multiple calls to this method, advancing the - * paging {@code startIndex} value by {@code numberResults} with each call. - * - *

Only a relatively small total number of results will be available through this method. - * Much larger result sets may be available using - * {@link #getBulkKeywordIdeas(TargetingIdeaSelector)} at the price of reduced flexibility in - * selector options. - * - * @param selector Query describing the types of results to return when - * finding matches (similar keyword ideas/placement ideas). - * @return A {@link TargetingIdeaPage} of results, that is a subset of the - * list of possible ideas meeting the criteria of the - * {@link TargetingIdeaSelector}. - * @throws ApiException If problems occurred while querying for ideas. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TargetingIdeaSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("TargetingIdeaServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TargetingIdeaPage - */ - 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("GetBulkKeywordIdeas", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a page of ideas that match the query described by the specified - * {@link TargetingIdeaSelector}. This method is specialized for returning - * bulk keyword ideas, and thus the selector must be set for - * {@link com.google.ads.api.services.targetingideas.attributes.RequestType#IDEAS} and - * {@link com.google.ads.api.services.common.optimization.attributes.IdeaType#KEYWORD}. - * A limited, fixed set of attributes will be returned. - * - *

A single-valued - * {@link com.google.ads.api.services.targetingideas.search.RelatedToUrlSearchParameter} - * must be supplied. Single-valued - * {@link com.google.ads.api.services.targetingideas.search.LanguageSearchParameter} and - * {@link com.google.ads.api.services.targetingideas.search.LocationSearchParameter} are - * both optional. Other search parameters compatible with a keyword query may also be - * supplied. - * - *

The selector must specify a {@code paging} value, with {@code numberResults} set to 800 - * or less. If a URL based search is performed it will return up to 100 keywords when the site is - * not owned, or up to 800 if it is. Number of keywords returned on a keyword based search is up - * to 800. Large result sets must be composed through multiple calls to this method, advancing the - * paging {@code startIndex} value by {@code numberResults} with each call. - * - *

This method can make many more results available than {@link #get(TargetingIdeaSelector)}, - * but allows less control over the query. For fine-tuned queries that do not need large numbers - * of results, prefer {@link #get(TargetingIdeaSelector)}. - * - * @param selector Query describing the bulk keyword ideas to return. - * @return A {@link TargetingIdeaPage} of results, that is a subset of the - * list of possible ideas meeting the criteria of the - * {@link TargetingIdeaSelector}. - * @throws ApiException If problems occurred while querying for ideas. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetBulkKeywordIdeas { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TargetingIdeaSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("GetBulkKeywordIdeasResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class GetBulkKeywordIdeasResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TargetingIdeaPage - */ - 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("AdGroupCriterionError", false)) { - /** - * Base error class for Ad Group Criterion Service. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionError"; - - /** - * @access public - * @var tnsAdGroupCriterionErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AdGroupCriterionLimitExceeded", false)) { - /** - * Signals that too many criteria were added to some ad group. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupCriterionLimitExceeded extends EntityCountLimitExceeded { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupCriterionLimitExceeded"; - - /** - * @access public - * @var tnsAdGroupCriterionLimitExceededCriteriaLimitType - */ - public $limitType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($limitType = null, $reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null) { - parent::__construct(); - $this->limitType = $limitType; - $this->reason = $reason; - $this->enclosingId = $enclosingId; - $this->limit = $limit; - $this->accountLimitType = $accountLimitType; - $this->existingCount = $existingCount; - } - - } -} - -if (!class_exists("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("BidLandscape", false)) { - /** - * Represents data about a bid landscape for an ad group or criterion. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class BidLandscape extends DataEntry { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "BidLandscape"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var string - */ - public $startDate; - - /** - * @access public - * @var string - */ - public $endDate; - - /** - * @access public - * @var BidLandscapeLandscapePoint[] - */ - public $landscapePoints; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null, $DataEntryType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - $this->DataEntryType = $DataEntryType; - } - - } -} - -if (!class_exists("CriterionBidLandscape", false)) { - /** - * The bid landscape for a criterion. A bid landscape estimates how a - * a criterion will perform based on different bid amounts. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionBidLandscape extends BidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionBidLandscape"; - - /** - * @access public - * @var integer - */ - public $criterionId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionId = null, $campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null) { - parent::__construct(); - $this->criterionId = $criterionId; - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - } - - } -} - -if (!class_exists("CriterionPolicyError", false)) { - /** - * Contains the policy violations for a single BiddableAdGroupCriterion. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionPolicyError extends PolicyViolationError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionPolicyError"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $externalPolicyName = null, $externalPolicyUrl = null, $externalPolicyDescription = null, $isExemptable = null, $violatingParts = null) { - parent::__construct(); - $this->key = $key; - $this->externalPolicyName = $externalPolicyName; - $this->externalPolicyUrl = $externalPolicyUrl; - $this->externalPolicyDescription = $externalPolicyDescription; - $this->isExemptable = $isExemptable; - $this->violatingParts = $violatingParts; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("AdFormatSpecListAttribute", false)) { - /** - * {@link Attribute} type that contains a list of {@link AdFormatSpec} values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdFormatSpecListAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdFormatSpecListAttribute"; - - /** - * @access public - * @var AdFormatSpec[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("AdSpecListAttribute", false)) { - /** - * {@link Attribute} type that contains a list of {@link AdSpec} values. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdSpecListAttribute extends Attribute { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdSpecListAttribute"; - - /** - * @access public - * @var AdSpec[] - */ - public $value; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $AttributeType = null) { - parent::__construct(); - $this->value = $value; - $this->AttributeType = $AttributeType; - } - - } -} - -if (!class_exists("AdSpecListSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code PLACEMENT} {@link IdeaType}s used to - * filter the results by the list of {@link AdSpec}s. See {@link AdSpec} - * documentation for details on available options. - *

This element is supported by following {@link IdeaType}s: PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdSpecListSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdSpecListSearchParameter"; - - /** - * @access public - * @var AdSpec[] - */ - public $adSpecs; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adSpecs = null, $SearchParameterType = null) { - parent::__construct(); - $this->adSpecs = $adSpecs; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("CategoryProductsAndServicesSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code KEYWORD} {@link IdeaType}s that - * sets a keyword category that all search results should belong to. - * Uses the newer "Products and Services" taxonomy. - *

This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CategoryProductsAndServicesSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CategoryProductsAndServicesSearchParameter"; - - /** - * @access public - * @var integer - */ - public $categoryId; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($categoryId = null, $SearchParameterType = null) { - parent::__construct(); - $this->categoryId = $categoryId; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("CompetitionSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code KEYWORD} {@link IdeaType}s used to - * filter the results by the amount of competition (eg: LOW, MEDIUM, HIGH). - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CompetitionSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CompetitionSearchParameter"; - - /** - * @access public - * @var tnsCompetitionSearchParameterLevel[] - */ - public $levels; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($levels = null, $SearchParameterType = null) { - parent::__construct(); - $this->levels = $levels; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("ExcludedKeywordSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code KEYWORD} {@link IdeaType}s that - * specifies {@link Keyword}s that should be excluded from the results.

- * - * The {@link KeywordMatchType} associated with these keywords is used to - * provide various filtering strategies. For example, the excluded keyword - * "brand x player" will exclude ideas from the resulting ideas as - * described by the table below. - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Idea{@code BROAD}{@code PHRASE}{@code EXACT}
brand x playerExcludeExcludeExclude
blu-ray brand x playerExcludeExcludeInclude
brand x dvd playerExcludeIncludeInclude
brand x dvdIncludeIncludeInclude
- *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ExcludedKeywordSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "ExcludedKeywordSearchParameter"; - - /** - * @access public - * @var Keyword[] - */ - public $keywords; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($keywords = null, $SearchParameterType = null) { - parent::__construct(); - $this->keywords = $keywords; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("IdeaTextFilterSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code KEYWORD} {@link IdeaType}s that - * specifies a collection of strings by which the results should be - * constrained. This guarantees that each idea in the result will match - * at least one of the {@code included} values. - * - * For this {@link SearchParameter}, excluded items will always take - * priority over included ones. - * - * This can handle a maximum of 200 (included + excluded) elements. - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdeaTextFilterSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IdeaTextFilterSearchParameter"; - - /** - * @access public - * @var string[] - */ - public $included; - - /** - * @access public - * @var string[] - */ - public $excluded; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($included = null, $excluded = null, $SearchParameterType = null) { - parent::__construct(); - $this->included = $included; - $this->excluded = $excluded; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("IncludeAdultContentSearchParameter", false)) { - /** - * {@link SearchParameter} that specifies whether adult content should be - * returned.

- * - * Presence of this {@link SearchParameter} will allow adult keywords - * to be included in the results. - *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IncludeAdultContentSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "IncludeAdultContentSearchParameter"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($SearchParameterType = null) { - parent::__construct(); - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("LanguageSearchParameter", false)) { - /** - * A {@link SearchParameter} used to indicate multiple language being targeted. - * This can be used, for example, to search for {@code KEYWORD} - * {@link IdeaType}s that are best for Japanese language. - * - *

The service allows at most one language to be targeted for - * {@code KEYWORD} requests. - *

In the {@code KEYWORD} {@link IdeaType} {@code STATS} {@link RequestType} - * requests, those keywords that are from different language than specified in - * {@code LanguageSearchParameter} or have unknown language will be filtered - * out in the response. To avoid filtering, do not include - * {@code LanguageSearchParameter} in the request. - *

This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. It must be single-valued when used in a call to that method. - *

This element is supported by following {@link IdeaType}s: KEYWORD, PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LanguageSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "LanguageSearchParameter"; - - /** - * @access public - * @var Language[] - */ - public $languages; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($languages = null, $SearchParameterType = null) { - parent::__construct(); - $this->languages = $languages; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("LocationSearchParameter", false)) { - /** - * A {@link SearchParameter} used to indicate the locations being targeted. - * This can be used, for example, to search for {@code KEYWORD} - * {@link IdeaType}s that are best for Japan and Los Angeles. - * - *

This parameter replaces the {@code CountryTargetSearchParameter}. - * - *

Warning: Not all back-ends support sub-country precision. - * - *

The service allows up to 10 locations to be targeted for KEYWORD requests and 50 locations - * for PLACEMENT requests. - *

This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. It must be single-valued when used in a call to that method. - *

This element is supported by following {@link IdeaType}s: KEYWORD, PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "LocationSearchParameter"; - - /** - * @access public - * @var Location[] - */ - public $locations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locations = null, $SearchParameterType = null) { - parent::__construct(); - $this->locations = $locations; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("NetworkSearchParameter", false)) { - /** - *

A {@link SearchParameter} for setting the search network. Currently we - * support two network setting options: - *

    - *
  • Google search network
  • - *
  • Google search network and AFS
  • - *
- *

This element is supported by following {@link IdeaType}s: KEYWORD. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NetworkSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "NetworkSearchParameter"; - - /** - * @access public - * @var NetworkSetting - */ - public $networkSetting; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($networkSetting = null, $SearchParameterType = null) { - parent::__construct(); - $this->networkSetting = $networkSetting; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("PlacementTypeSearchParameter", false)) { - /** - * A {@link SearchParameter} for {@code PLACEMENT} {@link IdeaType}s - * used to filter results based on the type of website, known as - * {@link com.google.ads.api.services.targetingideas.attributes.Type#PLACEMENT_TYPE}, - * that they appear in. For example, searches may be limited to find - * results that only appear within mobile websites or feeds. - *

This element is supported by following {@link IdeaType}s: PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class PlacementTypeSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "PlacementTypeSearchParameter"; - - /** - * @access public - * @var tnsSiteConstantsPlacementType[] - */ - public $placementTypes; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($placementTypes = null, $SearchParameterType = null) { - parent::__construct(); - $this->placementTypes = $placementTypes; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("RelatedToQuerySearchParameter", false)) { - /** - * A {@link SearchParameter} for a query of {@code String}s. - *

This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. - *

This element is supported by following {@link IdeaType}s: KEYWORD, PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RelatedToQuerySearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "RelatedToQuerySearchParameter"; - - /** - * @access public - * @var string[] - */ - public $queries; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($queries = null, $SearchParameterType = null) { - parent::__construct(); - $this->queries = $queries; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("RelatedToUrlSearchParameter", false)) { - /** - * A {@link SearchParameter} that specifies a set of URLs that results should - * in some way be related too. For example, keyword results would be - * similar to content keywords found on the related URLs. - *

This search parameter can be used in bulk keyword requests through the {@link com.google.ads.api.services.targetingideas.TargetingIdeaService#getBulkKeywordIdeas(TargetingIdeaSelector)} method. It must be single-valued when used in a call to that method. - *

This element is supported by following {@link IdeaType}s: KEYWORD, PLACEMENT. - *

This element is supported by following {@link RequestType}s: IDEAS, STATS. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RelatedToUrlSearchParameter extends SearchParameter { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "RelatedToUrlSearchParameter"; - - /** - * @access public - * @var string[] - */ - public $urls; - - /** - * @access public - * @var boolean - */ - public $includeSubUrls; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $includeSubUrls = null, $SearchParameterType = null) { - parent::__construct(); - $this->urls = $urls; - $this->includeSubUrls = $includeSubUrls; - $this->SearchParameterType = $SearchParameterType; - } - - } -} - -if (!class_exists("AdGroupBidLandscape", false)) { - /** - * Represents data about a bidlandscape for an adgroup. - * - * - * - * Represents data about a bidlandscape for an adgroup. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupBidLandscape extends BidLandscape { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdGroupBidLandscape"; - - /** - * @access public - * @var tnsAdGroupBidLandscapeType - */ - public $type; - - /** - * @access public - * @var boolean - */ - public $landscapeCurrent; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($type = null, $landscapeCurrent = null, $campaignId = null, $adGroupId = null, $startDate = null, $endDate = null, $landscapePoints = null) { - parent::__construct(); - $this->type = $type; - $this->landscapeCurrent = $landscapeCurrent; - $this->campaignId = $campaignId; - $this->adGroupId = $adGroupId; - $this->startDate = $startDate; - $this->endDate = $endDate; - $this->landscapePoints = $landscapePoints; - } - - } -} - -if (!class_exists("TargetingIdeaService", false)) { - /** - * TargetingIdeaService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetingIdeaService extends AdWordsSoapClient { - - const SERVICE_NAME = "TargetingIdeaService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/o/v201402/TargetingIdeaService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/o/v201402/TargetingIdeaService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdGroupBidLandscape" => "AdGroupBidLandscape", - "AdGroupCriterionError" => "AdGroupCriterionError", - "AdGroupCriterionLimitExceeded" => "AdGroupCriterionLimitExceeded", - "AdxError" => "AdxError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "BidLandscape" => "BidLandscape", - "BidLandscape.LandscapePoint" => "BidLandscapeLandscapePoint", - "BiddingError" => "BiddingError", - "BudgetError" => "BudgetError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "ComparableValue" => "ComparableValue", - "Criterion" => "Criterion", - "CriterionBidLandscape" => "CriterionBidLandscape", - "CriterionError" => "CriterionError", - "CriterionPolicyError" => "CriterionPolicyError", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EntityCountLimitExceeded" => "EntityCountLimitExceeded", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "Language" => "Language", - "Location" => "Location", - "LongValue" => "LongValue", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "Money" => "Money", - "NetworkSetting" => "NetworkSetting", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "Paging" => "Paging", - "Placement" => "Placement", - "Platform" => "Platform", - "PolicyViolationError" => "PolicyViolationError", - "PolicyViolationError.Part" => "PolicyViolationErrorPart", - "PolicyViolationKey" => "PolicyViolationKey", - "Product" => "Product", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StatsQueryError" => "StatsQueryError", - "StringLengthError" => "StringLengthError", - "DataEntry" => "DataEntry", - "TargetError" => "TargetError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AdGroupBidLandscape.Type" => "AdGroupBidLandscapeType", - "AdGroupCriterionError.Reason" => "AdGroupCriterionErrorReason", - "AdGroupCriterionLimitExceeded.CriteriaLimitType" => "AdGroupCriterionLimitExceededCriteriaLimitType", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "BiddingError.Reason" => "BiddingErrorReason", - "BudgetError.Reason" => "BudgetErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "Criterion.Type" => "CriterionType", - "CriterionError.Reason" => "CriterionErrorReason", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityCountLimitExceeded.Reason" => "EntityCountLimitExceededReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "LocationTargetingStatus" => "LocationTargetingStatus", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StatsQueryError.Reason" => "StatsQueryErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "TargetError.Reason" => "TargetErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdFormatSpec" => "AdFormatSpec", - "AdFormatSpecListAttribute" => "AdFormatSpecListAttribute", - "AdSpec" => "AdSpec", - "AdSpecListAttribute" => "AdSpecListAttribute", - "AdSpecListSearchParameter" => "AdSpecListSearchParameter", - "Attribute" => "Attribute", - "BidLandscapeAttribute" => "BidLandscapeAttribute", - "BooleanAttribute" => "BooleanAttribute", - "CategoryProductsAndServicesSearchParameter" => "CategoryProductsAndServicesSearchParameter", - "CompetitionSearchParameter" => "CompetitionSearchParameter", - "CriterionAttribute" => "CriterionAttribute", - "CurrencyCodeError" => "CurrencyCodeError", - "DisplayAdSpec" => "DisplayAdSpec", - "DisplayAdSpec.AdSizeSpec" => "DisplayAdSpecAdSizeSpec", - "DisplayType" => "DisplayType", - "DoubleAttribute" => "DoubleAttribute", - "ExcludedKeywordSearchParameter" => "ExcludedKeywordSearchParameter", - "FlashDisplayType" => "FlashDisplayType", - "HtmlDisplayType" => "HtmlDisplayType", - "IdeaTextFilterSearchParameter" => "IdeaTextFilterSearchParameter", - "IdeaTypeAttribute" => "IdeaTypeAttribute", - "ImageDisplayType" => "ImageDisplayType", - "InStreamAdInfo" => "InStreamAdInfo", - "InStreamAdInfoAttribute" => "InStreamAdInfoAttribute", - "InStreamAdSpec" => "InStreamAdSpec", - "IncludeAdultContentSearchParameter" => "IncludeAdultContentSearchParameter", - "IntegerAttribute" => "IntegerAttribute", - "IntegerSetAttribute" => "IntegerSetAttribute", - "KeywordAttribute" => "KeywordAttribute", - "LanguageSearchParameter" => "LanguageSearchParameter", - "LocationSearchParameter" => "LocationSearchParameter", - "LongAttribute" => "LongAttribute", - "LongComparisonOperation" => "LongComparisonOperation", - "LongRangeAttribute" => "LongRangeAttribute", - "MatchesRegexError" => "MatchesRegexError", - "MoneyAttribute" => "MoneyAttribute", - "MonthlySearchVolume" => "MonthlySearchVolume", - "MonthlySearchVolumeAttribute" => "MonthlySearchVolumeAttribute", - "NetworkSearchParameter" => "NetworkSearchParameter", - "OpportunityIdeaTypeAttribute" => "OpportunityIdeaTypeAttribute", - "PlacementAttribute" => "PlacementAttribute", - "PlacementTypeAttribute" => "PlacementTypeAttribute", - "PlacementTypeSearchParameter" => "PlacementTypeSearchParameter", - "Range" => "Range", - "RelatedToQuerySearchParameter" => "RelatedToQuerySearchParameter", - "RelatedToUrlSearchParameter" => "RelatedToUrlSearchParameter", - "SearchParameter" => "SearchParameter", - "SearchVolumeSearchParameter" => "SearchVolumeSearchParameter", - "SeedAdGroupIdSearchParameter" => "SeedAdGroupIdSearchParameter", - "StringAttribute" => "StringAttribute", - "TargetingIdea" => "TargetingIdea", - "TargetingIdeaError" => "TargetingIdeaError", - "TargetingIdeaPage" => "TargetingIdeaPage", - "TargetingIdeaSelector" => "TargetingIdeaSelector", - "TextAdSpec" => "TextAdSpec", - "TrafficEstimatorError" => "TrafficEstimatorError", - "Type_AttributeMapEntry" => "Type_AttributeMapEntry", - "WebpageDescriptor" => "WebpageDescriptor", - "WebpageDescriptorAttribute" => "WebpageDescriptorAttribute", - "AttributeType" => "AttributeType", - "CompetitionSearchParameter.Level" => "CompetitionSearchParameterLevel", - "CurrencyCodeError.Reason" => "CurrencyCodeErrorReason", - "DisplayAdSpec.ActivationOption" => "DisplayAdSpecActivationOption", - "HtmlDisplayType.HtmlOption" => "HtmlDisplayTypeHtmlOption", - "IdeaType" => "IdeaType", - "InStreamAdSpec.InStreamType" => "InStreamAdSpecInStreamType", - "MatchesRegexError.Reason" => "MatchesRegexErrorReason", - "OpportunityIdeaType" => "OpportunityIdeaType", - "RequestType" => "RequestType", - "SiteConstants.AdFormat" => "SiteConstantsAdFormat", - "SiteConstants.PlacementType" => "SiteConstantsPlacementType", - "TargetingIdeaError.Reason" => "TargetingIdeaErrorReason", - "TrafficEstimatorError.Reason" => "TrafficEstimatorErrorReason", - "get" => "TargetingIdeaServiceGet", - "getResponse" => "TargetingIdeaServiceGetResponse", - "getBulkKeywordIdeas" => "GetBulkKeywordIdeas", - "getBulkKeywordIdeasResponse" => "GetBulkKeywordIdeasResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a page of ideas that match the query described by the specified - * {@link TargetingIdeaSelector}. - * - *

The selector must specify a {@code paging} value, with {@code numberResults} set to 800 or - * less. Large result sets must be composed through multiple calls to this method, advancing the - * paging {@code startIndex} value by {@code numberResults} with each call. - * - *

Only a relatively small total number of results will be available through this method. - * Much larger result sets may be available using - * {@link #getBulkKeywordIdeas(TargetingIdeaSelector)} at the price of reduced flexibility in - * selector options. - * - * @param selector Query describing the types of results to return when - * finding matches (similar keyword ideas/placement ideas). - * @return A {@link TargetingIdeaPage} of results, that is a subset of the - * list of possible ideas meeting the criteria of the - * {@link TargetingIdeaSelector}. - * @throws ApiException If problems occurred while querying for ideas. - */ - public function get($selector) { - $args = new TargetingIdeaServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns a page of ideas that match the query described by the specified - * {@link TargetingIdeaSelector}. This method is specialized for returning - * bulk keyword ideas, and thus the selector must be set for - * {@link com.google.ads.api.services.targetingideas.attributes.RequestType#IDEAS} and - * {@link com.google.ads.api.services.common.optimization.attributes.IdeaType#KEYWORD}. - * A limited, fixed set of attributes will be returned. - * - *

A single-valued - * {@link com.google.ads.api.services.targetingideas.search.RelatedToUrlSearchParameter} - * must be supplied. Single-valued - * {@link com.google.ads.api.services.targetingideas.search.LanguageSearchParameter} and - * {@link com.google.ads.api.services.targetingideas.search.LocationSearchParameter} are - * both optional. Other search parameters compatible with a keyword query may also be - * supplied. - * - *

The selector must specify a {@code paging} value, with {@code numberResults} set to 800 - * or less. If a URL based search is performed it will return up to 100 keywords when the site is - * not owned, or up to 800 if it is. Number of keywords returned on a keyword based search is up - * to 800. Large result sets must be composed through multiple calls to this method, advancing the - * paging {@code startIndex} value by {@code numberResults} with each call. - * - *

This method can make many more results available than {@link #get(TargetingIdeaSelector)}, - * but allows less control over the query. For fine-tuned queries that do not need large numbers - * of results, prefer {@link #get(TargetingIdeaSelector)}. - * - * @param selector Query describing the bulk keyword ideas to return. - * @return A {@link TargetingIdeaPage} of results, that is a subset of the - * list of possible ideas meeting the criteria of the - * {@link TargetingIdeaSelector}. - * @throws ApiException If problems occurred while querying for ideas. - */ - public function getBulkKeywordIdeas($selector) { - $args = new GetBulkKeywordIdeas($selector); - $result = $this->__soapCall("getBulkKeywordIdeas", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/AdWords/v201402/TrafficEstimatorService.php b/src/Google/Api/Ads/AdWords/v201402/TrafficEstimatorService.php deleted file mode 100755 index 1971d39bd..000000000 --- a/src/Google/Api/Ads/AdWords/v201402/TrafficEstimatorService.php +++ /dev/null @@ -1,5202 +0,0 @@ -The OGNL field path is provided for parsers to identify the request data - * element that may have caused the error.

- * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApiError"; - - /** - * @access public - * @var string - */ - public $fieldPath; - - /** - * @access public - * @var string - */ - public $trigger; - - /** - * @access public - * @var string - */ - public $errorString; - - /** - * @access public - * @var string - */ - public $ApiErrorType; - private $_parameterMap = array( - "ApiError.Type" => "ApiErrorType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApiErrorType = null) { - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApplicationException", false)) { - /** - * Base class for exceptions. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ApplicationException"; - - /** - * @access public - * @var string - */ - public $message; - - /** - * @access public - * @var string - */ - public $ApplicationExceptionType; - private $_parameterMap = array( - "ApplicationException.Type" => "ApplicationExceptionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $ApplicationExceptionType = null) { - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("AuthenticationError", false)) { - /** - * Errors returned when Authentication failed. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("AuthorizationError", false)) { - /** - * Errors encountered when trying to authorize a user. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError"; - - /** - * @access public - * @var tnsAuthorizationErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ClientTermsError", false)) { - /** - * Error due to user not accepting the AdWords terms of service. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError"; - - /** - * @access public - * @var tnsClientTermsErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CollectionSizeError", false)) { - /** - * Errors associated with the size of the given collection being - * out of bounds. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ComparableValue", false)) { - /** - * Comparable types for constructing ranges with. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ComparableValue"; - - /** - * @access public - * @var string - */ - public $ComparableValueType; - private $_parameterMap = array( - "ComparableValue.Type" => "ComparableValueType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("Criterion", false)) { - /** - * Represents a criterion (such as a keyword, placement, or vertical). - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion"; - - /** - * @access public - * @var integer - */ - public $id; - - /** - * @access public - * @var tnsCriterionType - */ - public $type; - - /** - * @access public - * @var string - */ - public $CriterionType; - private $_parameterMap = array( - "Criterion.Type" => "CriterionType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $CriterionType = null) { - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("DatabaseError", false)) { - /** - * Errors that are thrown due to a database access problem. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError"; - - /** - * @access public - * @var tnsDatabaseErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DateError", false)) { - /** - * Errors associated with invalid dates and date ranges. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError"; - - /** - * @access public - * @var tnsDateErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("DistinctError", false)) { - /** - * Errors related to distinct ids or content. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError"; - - /** - * @access public - * @var tnsDistinctErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityAccessDenied", false)) { - /** - * Reports permission problems trying to access an entity. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied"; - - /** - * @access public - * @var tnsEntityAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("EntityNotFound", false)) { - /** - * An id did not correspond to an entity, or it referred to an entity which does not belong to the - * customer. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFound extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound"; - - /** - * @access public - * @var tnsEntityNotFoundReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("IdError", false)) { - /** - * Errors associated with the ids. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError"; - - /** - * @access public - * @var tnsIdErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("InternalApiError", false)) { - /** - * Indicates that a server-side error has occured. {@code InternalApiError}s - * are generally not the result of an invalid request or message sent by the - * client. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Keyword", false)) { - /** - * Represents a keyword. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Keyword extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Keyword"; - - /** - * @access public - * @var string - */ - public $text; - - /** - * @access public - * @var tnsKeywordMatchType - */ - public $matchType; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($text = null, $matchType = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->text = $text; - $this->matchType = $matchType; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Language", false)) { - /** - * Represents a Language criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Language extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Language"; - - /** - * @access public - * @var string - */ - public $code; - - /** - * @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($code = null, $name = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->code = $code; - $this->name = $name; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Location", false)) { - /** - * Represents Location criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Location extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Location"; - - /** - * @access public - * @var string - */ - public $locationName; - - /** - * @access public - * @var string - */ - public $displayType; - - /** - * @access public - * @var tnsLocationTargetingStatus - */ - public $targetingStatus; - - /** - * @access public - * @var Location[] - */ - public $parentLocations; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($locationName = null, $displayType = null, $targetingStatus = null, $parentLocations = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->locationName = $locationName; - $this->displayType = $displayType; - $this->targetingStatus = $targetingStatus; - $this->parentLocations = $parentLocations; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileAppCategory", false)) { - /** - * Represents the mobile app category to be targeted. - * View the complete list of - * available mobile app categories. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileAppCategory extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileAppCategory"; - - /** - * @access public - * @var integer - */ - public $mobileAppCategoryId; - - /** - * @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($mobileAppCategoryId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->mobileAppCategoryId = $mobileAppCategoryId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("MobileApplication", false)) { - /** - * Represents the mobile application to be targeted. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MobileApplication extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "MobileApplication"; - - /** - * @access public - * @var string - */ - public $appId; - - /** - * @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($appId = null, $displayName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->appId = $appId; - $this->displayName = $displayName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Money", false)) { - /** - * Represents a money amount. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Money extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Money"; - - /** - * @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($microAmount = null, $ComparableValueType = null) { - parent::__construct(); - $this->microAmount = $microAmount; - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("NetworkSetting", false)) { - /** - * Network settings for a Campaign. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NetworkSetting { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NetworkSetting"; - - /** - * @access public - * @var boolean - */ - public $targetGoogleSearch; - - /** - * @access public - * @var boolean - */ - public $targetSearchNetwork; - - /** - * @access public - * @var boolean - */ - public $targetContentNetwork; - - /** - * @access public - * @var boolean - */ - public $targetPartnerSearchNetwork; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($targetGoogleSearch = null, $targetSearchNetwork = null, $targetContentNetwork = null, $targetPartnerSearchNetwork = null) { - $this->targetGoogleSearch = $targetGoogleSearch; - $this->targetSearchNetwork = $targetSearchNetwork; - $this->targetContentNetwork = $targetContentNetwork; - $this->targetPartnerSearchNetwork = $targetPartnerSearchNetwork; - } - - } -} - -if (!class_exists("NotEmptyError", false)) { - /** - * Errors corresponding with violation of a NOT EMPTY check. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError"; - - /** - * @access public - * @var tnsNotEmptyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NullError", false)) { - /** - * Errors associated with violation of a NOT NULL check. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("NumberValue", false)) { - /** - * Number value types for constructing number valued ranges. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NumberValue extends ComparableValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NumberValue"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($ComparableValueType = null) { - parent::__construct(); - $this->ComparableValueType = $ComparableValueType; - } - - } -} - -if (!class_exists("OperationAccessDenied", false)) { - /** - * Operation not permitted due to the invoked service's access policy. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDenied extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied"; - - /** - * @access public - * @var tnsOperationAccessDeniedReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("OperatorError", false)) { - /** - * Errors due to the use of unsupported operations. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError"; - - /** - * @access public - * @var tnsOperatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Placement", false)) { - /** - * A placement used for modifying bids for sites when targeting the content - * network. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Placement extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Placement"; - - /** - * @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($url = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->url = $url; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Platform", false)) { - /** - * Represents Platform criterion. - *

A criterion of this type can only be created using an ID. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Platform extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Platform"; - - /** - * @access public - * @var string - */ - public $platformName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($platformName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->platformName = $platformName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Product", false)) { - /** - * Product targeting criteria, represents a filter for products in the - * product feed that is defined by the advertiser. The criteria is used to - * determine the products in a Merchant Center account to be used with the - * ProductAds in the AdGroup. This criteria is available only to some advertisers. - * This is disabled for AdX when it is contained within Operators: ADD, SET. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Product extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Product"; - - /** - * @access public - * @var ProductCondition[] - */ - public $conditions; - - /** - * @access public - * @var string - */ - public $text; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($conditions = null, $text = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->conditions = $conditions; - $this->text = $text; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("ProductCondition", false)) { - /** - * Conditions to filter the products defined in product feed for targeting. - * The condition is defined as operand=argument. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductCondition { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductCondition"; - - /** - * @access public - * @var string - */ - public $argument; - - /** - * @access public - * @var ProductConditionOperand - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($argument = null, $operand = null) { - $this->argument = $argument; - $this->operand = $operand; - } - - } -} - -if (!class_exists("ProductConditionOperand", false)) { - /** - * Attribute for the product condition. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ProductConditionOperand { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ProductConditionOperand"; - - /** - * @access public - * @var string - */ - public $operand; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($operand = null) { - $this->operand = $operand; - } - - } -} - -if (!class_exists("QuotaCheckError", false)) { - /** - * Encapsulates the errors thrown during developer quota checks. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError"; - - /** - * @access public - * @var tnsQuotaCheckErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RangeError", false)) { - /** - * A list of all errors associated with the Range constraint. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RateExceededError", false)) { - /** - * Signals that a call failed because a measured rate exceeded. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError"; - - /** - * @access public - * @var tnsRateExceededErrorReason - */ - public $reason; - - /** - * @access public - * @var string - */ - public $rateName; - - /** - * @access public - * @var string - */ - public $rateScope; - - /** - * @access public - * @var integer - */ - public $retryAfterSeconds; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $rateName = null, $rateScope = null, $retryAfterSeconds = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->rateName = $rateName; - $this->rateScope = $rateScope; - $this->retryAfterSeconds = $retryAfterSeconds; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ReadOnlyError", false)) { - /** - * Errors from attempting to write to read-only fields. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError"; - - /** - * @access public - * @var tnsReadOnlyErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RegionCodeError", false)) { - /** - * A list of all errors associated with the @RegionCode constraints. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError"; - - /** - * @access public - * @var tnsRegionCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RejectedError", false)) { - /** - * Indicates that a field was rejected due to compatibility issues. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError"; - - /** - * @access public - * @var tnsRejectedErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequestError", false)) { - /** - * Encapsulates the generic errors thrown when there's an error with user - * request. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError"; - - /** - * @access public - * @var tnsRequestErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("RequiredError", false)) { - /** - * Errors due to missing required field. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SizeLimitError", false)) { - /** - * Indicates that the number of entries in the request or response exceeds the system limit. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError"; - - /** - * @access public - * @var tnsSizeLimitErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("SoapRequestHeader", false)) { - /** - * Defines the required and optional elements within the header of a SOAP request. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapRequestHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapHeader"; - - /** - * @access public - * @var string - */ - public $clientCustomerId; - - /** - * @access public - * @var string - */ - public $developerToken; - - /** - * @access public - * @var string - */ - public $userAgent; - - /** - * @access public - * @var boolean - */ - public $validateOnly; - - /** - * @access public - * @var boolean - */ - public $partialFailure; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($clientCustomerId = null, $developerToken = null, $userAgent = null, $validateOnly = null, $partialFailure = null) { - $this->clientCustomerId = $clientCustomerId; - $this->developerToken = $developerToken; - $this->userAgent = $userAgent; - $this->validateOnly = $validateOnly; - $this->partialFailure = $partialFailure; - } - - } -} - -if (!class_exists("SoapResponseHeader", false)) { - /** - * Defines the elements within the header of a SOAP response. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SoapResponseHeader { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SoapResponseHeader"; - - /** - * @access public - * @var string - */ - public $requestId; - - /** - * @access public - * @var string - */ - public $serviceName; - - /** - * @access public - * @var string - */ - public $methodName; - - /** - * @access public - * @var integer - */ - public $operations; - - /** - * @access public - * @var integer - */ - public $responseTime; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the 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, $serviceName = null, $methodName = null, $operations = null, $responseTime = null) { - $this->requestId = $requestId; - $this->serviceName = $serviceName; - $this->methodName = $methodName; - $this->operations = $operations; - $this->responseTime = $responseTime; - } - - } -} - -if (!class_exists("StringLengthError", false)) { - /** - * Errors associated with the length of the given string being - * out of bounds. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TargetError", false)) { - /** - * A list of all the error codes being used by the common targeting package. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError"; - - /** - * @access public - * @var tnsTargetErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("CriterionUserInterest", false)) { - /** - * User Interest represents a particular interest-based vertical to be targeted. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserInterest extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserInterest"; - - /** - * @access public - * @var integer - */ - public $userInterestId; - - /** - * @access public - * @var string - */ - public $userInterestName; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userInterestId = null, $userInterestName = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userInterestId = $userInterestId; - $this->userInterestName = $userInterestName; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("CriterionUserList", false)) { - /** - * UserList - represents a user list that is defined by the advertiser to be targeted. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserList extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList"; - - /** - * @access public - * @var integer - */ - public $userListId; - - /** - * @access public - * @var string - */ - public $userListName; - - /** - * @access public - * @var tnsCriterionUserListMembershipStatus - */ - public $userListMembershipStatus; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($userListId = null, $userListName = null, $userListMembershipStatus = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->userListId = $userListId; - $this->userListName = $userListName; - $this->userListMembershipStatus = $userListMembershipStatus; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("Vertical", false)) { - /** - * Use verticals to target or exclude placements in the Google Display Network - * based on the category into which the placement falls (for example, "Pets & - * Animals/Pets/Dogs"). - * View the complete list - * of available vertical categories. - * This is enabled for AdX. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Vertical extends Criterion { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Vertical"; - - /** - * @access public - * @var integer - */ - public $verticalId; - - /** - * @access public - * @var integer - */ - public $verticalParentId; - - /** - * @access public - * @var string[] - */ - public $path; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($verticalId = null, $verticalParentId = null, $path = null, $id = null, $type = null, $CriterionType = null) { - parent::__construct(); - $this->verticalId = $verticalId; - $this->verticalParentId = $verticalParentId; - $this->path = $path; - $this->id = $id; - $this->type = $type; - $this->CriterionType = $CriterionType; - } - - } -} - -if (!class_exists("AdxErrorReason", false)) { - /** - * The reasons for the AdX error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 single reason for the authentication failure. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthenticationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("AuthorizationErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AuthorizationErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AuthorizationError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ClientTermsErrorReason", false)) { - /** - * Enums for the various reasons an error can be thrown as a result of - * ClientTerms violation. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ClientTermsErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ClientTermsError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CollectionSizeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("CriterionType", false)) { - /** - * The types of criteria. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "Criterion.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("DatabaseErrorReason", false)) { - /** - * The reasons for the database error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DatabaseErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DatabaseError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DateErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DateErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DateError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("DistinctErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DistinctErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DistinctError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityAccessDeniedReason", false)) { - /** - * User did not have read access. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("EntityNotFoundReason", false)) { - /** - * The specified id refered to an entity which either doesn't exist or is not accessible to the - * customer. e.g. campaign belongs to another customer. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EntityNotFoundReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "EntityNotFound.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("IdErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class IdErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "IdError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class InternalApiErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("KeywordMatchType", false)) { - /** - * Match type of a keyword. i.e. the way we match a keyword string with - * search queries. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordMatchType { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "KeywordMatchType"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("LocationTargetingStatus", false)) { - /** - * Enum that represents the different Targeting Status values for a Location criterion. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LocationTargetingStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LocationTargetingStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("NotEmptyErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NotEmptyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "NotEmptyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class NullErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("OperationAccessDeniedReason", false)) { - /** - * The reasons for the operation access error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperationAccessDeniedReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperationAccessDenied.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("OperatorErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class OperatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "OperatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("QuotaCheckErrorReason", false)) { - /** - * Enums for all the reasons an error can be thrown to the user during - * billing quota checks. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class QuotaCheckErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "QuotaCheckError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RangeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("RateExceededErrorReason", false)) { - /** - * The reason for the rate exceeded error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RateExceededErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RateExceededError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("ReadOnlyErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ReadOnlyErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "ReadOnlyError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RegionCodeErrorReason", false)) { - /** - * The reasons for the validation error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RegionCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RegionCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RejectedErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RejectedErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RejectedError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("RequestErrorReason", false)) { - /** - * Error reason is unknown. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequestErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "RequestError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class RequiredErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("SizeLimitErrorReason", false)) { - /** - * The reasons for Ad Scheduling errors. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class SizeLimitErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "SizeLimitError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name 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 reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StringLengthErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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("TargetErrorReason", false)) { - /** - * The reasons for the target error. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TargetErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "TargetError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CriterionUserListMembershipStatus", false)) { - /** - * Membership status of the user list. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CriterionUserListMembershipStatus { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "CriterionUserList.MembershipStatus"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("CurrencyCodeError", false)) { - /** - * Errors for currency codes. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CurrencyCodeError"; - - /** - * @access public - * @var tnsCurrencyCodeErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("Estimate", false)) { - /** - * Abstract class representing an reply to an {@link EstimateRequest}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class Estimate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "Estimate"; - - /** - * @access public - * @var string - */ - public $EstimateType; - private $_parameterMap = array( - "Estimate.Type" => "EstimateType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($EstimateType = null) { - $this->EstimateType = $EstimateType; - } - - } -} - -if (!class_exists("EstimateRequest", false)) { - /** - * Abstract class representing a request to estimate stats. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class EstimateRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "EstimateRequest"; - - /** - * @access public - * @var string - */ - public $EstimateRequestType; - private $_parameterMap = array( - "EstimateRequest.Type" => "EstimateRequestType", - ); - - /** - * Provided for setting non-php-standard named variables - * @param $var Variable name to set - * @param $value Value to set - */ - public function __set($var, $value) { - $this->{$this->_parameterMap[$var]} = $value; - } - - /** - * Provided for getting non-php-standard named variables - * @param $var Variable name to get - * @return mixed Variable value - */ - public function __get($var) { - if (!isset($this->_parameterMap[$var])) { - return null; - } - return $this->{$this->_parameterMap[$var]}; - } - - /** - * Provided for getting non-php-standard named variables - * @return array parameter map - */ - protected function getParameterMap() { - return $this->_parameterMap; - } - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($EstimateRequestType = null) { - $this->EstimateRequestType = $EstimateRequestType; - } - - } -} - -if (!class_exists("KeywordEstimate", false)) { - /** - * Represents the traffic estimate result for a single keyword. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordEstimate extends Estimate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "KeywordEstimate"; - - /** - * @access public - * @var integer - */ - public $criterionId; - - /** - * @access public - * @var StatsEstimate - */ - public $min; - - /** - * @access public - * @var StatsEstimate - */ - public $max; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($criterionId = null, $min = null, $max = null, $EstimateType = null) { - parent::__construct(); - $this->criterionId = $criterionId; - $this->min = $min; - $this->max = $max; - $this->EstimateType = $EstimateType; - } - - } -} - -if (!class_exists("KeywordEstimateRequest", false)) { - /** - * Represents a keyword to be estimated. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class KeywordEstimateRequest extends EstimateRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "KeywordEstimateRequest"; - - /** - * @access public - * @var Keyword - */ - public $keyword; - - /** - * @access public - * @var Money - */ - public $maxCpc; - - /** - * @access public - * @var boolean - */ - public $isNegative; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($keyword = null, $maxCpc = null, $isNegative = null, $EstimateRequestType = null) { - parent::__construct(); - $this->keyword = $keyword; - $this->maxCpc = $maxCpc; - $this->isNegative = $isNegative; - $this->EstimateRequestType = $EstimateRequestType; - } - - } -} - -if (!class_exists("MatchesRegexError", false)) { - /** - * Errors associated with a given string not matching the provided - * regular expression. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MatchesRegexError"; - - /** - * @access public - * @var tnsMatchesRegexErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("StatsEstimate", false)) { - /** - * Represents a set of stats for a daily traffic estimate. - * As of v201406 {@code averageCpc}, {@code averagePosition} and {@code clickThroughRate} will be - * {@code null} when not defined (respectively, if {@code clicksPerDay} or - * {@code impressionsPerDay} are 0). - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class StatsEstimate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "StatsEstimate"; - - /** - * @access public - * @var Money - */ - public $averageCpc; - - /** - * @access public - * @var double - */ - public $averagePosition; - - /** - * @access public - * @var double - */ - public $clickThroughRate; - - /** - * @access public - * @var double - */ - public $clicksPerDay; - - /** - * @access public - * @var double - */ - public $impressionsPerDay; - - /** - * @access public - * @var Money - */ - public $totalCost; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($averageCpc = null, $averagePosition = null, $clickThroughRate = null, $clicksPerDay = null, $impressionsPerDay = null, $totalCost = null) { - $this->averageCpc = $averageCpc; - $this->averagePosition = $averagePosition; - $this->clickThroughRate = $clickThroughRate; - $this->clicksPerDay = $clicksPerDay; - $this->impressionsPerDay = $impressionsPerDay; - $this->totalCost = $totalCost; - } - - } -} - -if (!class_exists("TrafficEstimatorError", false)) { - /** - * Base error class for - * {@link com.google.ads.api.services.trafficestimator.TrafficEstimatorService}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorError"; - - /** - * @access public - * @var tnsTrafficEstimatorErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("TrafficEstimatorResult", false)) { - /** - * Contains results of traffic estimation request. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorResult { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorResult"; - - /** - * @access public - * @var CampaignEstimate[] - */ - public $campaignEstimates; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignEstimates = null) { - $this->campaignEstimates = $campaignEstimates; - } - - } -} - -if (!class_exists("TrafficEstimatorSelector", false)) { - /** - * Contains a list of campaigns to perform a traffic estimate on. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorSelector { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorSelector"; - - /** - * @access public - * @var CampaignEstimateRequest[] - */ - public $campaignEstimateRequests; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignEstimateRequests = null) { - $this->campaignEstimateRequests = $campaignEstimateRequests; - } - - } -} - -if (!class_exists("CurrencyCodeErrorReason", false)) { - /** - * Encodes the reason (cause) of a particular {@link CurrencyCodeError}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CurrencyCodeErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CurrencyCodeError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("MatchesRegexErrorReason", false)) { - /** - * The reasons for the target error. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class MatchesRegexErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "MatchesRegexError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TrafficEstimatorErrorReason", false)) { - /** - * When the request with {@code null} campaign ID in - * {@link com.google.ads.api.services.trafficestimator.CampaignEstimateRequest} - * contains an - * {@link com.google.ads.api.services.trafficestimator.AdGroupEstimateRequest} - * with an ID. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorErrorReason { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "TrafficEstimatorError.Reason"; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct() { - } - - } -} - -if (!class_exists("TrafficEstimatorServiceGet", false)) { - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns traffic estimates for specified criteria. - * - * @param selector Campaigns, ad groups and keywords for which traffic - * should be estimated. - * @return Traffic estimation results. - * @throws ApiException if problems occurred while retrieving estimates - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorServiceGet { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TrafficEstimatorSelector - */ - public $selector; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($selector = null) { - $this->selector = $selector; - } - - } -} - -if (!class_exists("TrafficEstimatorServiceGetResponse", false)) { - /** - * - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorServiceGetResponse { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = ""; - - /** - * @access public - * @var TrafficEstimatorResult - */ - 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("AdxError", false)) { - /** - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdxError extends ApiError { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "AdxError"; - - /** - * @access public - * @var tnsAdxErrorReason - */ - public $reason; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($reason = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null) { - parent::__construct(); - $this->reason = $reason; - $this->fieldPath = $fieldPath; - $this->trigger = $trigger; - $this->errorString = $errorString; - $this->ApiErrorType = $ApiErrorType; - } - - } -} - -if (!class_exists("ApiException", false)) { - /** - * Exception class for holding a list of service errors. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class ApiException extends ApplicationException { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - 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, $ApplicationExceptionType = null) { - parent::__construct(); - $this->errors = $errors; - $this->message = $message; - $this->ApplicationExceptionType = $ApplicationExceptionType; - } - - } -} - -if (!class_exists("DoubleValue", false)) { - /** - * Number value type for constructing double valued ranges. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class DoubleValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "DoubleValue"; - - /** - * @access public - * @var double - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("LongValue", false)) { - /** - * Number value type for constructing long valued ranges. - * - * - * - * Errors that are thrown when a non-AdX feature is accessed by an AdX customer. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class LongValue extends NumberValue { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/cm/v201402"; - const XSI_TYPE = "LongValue"; - - /** - * @access public - * @var integer - */ - public $number; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($number = null) { - parent::__construct(); - $this->number = $number; - } - - } -} - -if (!class_exists("AdGroupEstimate", false)) { - /** - * Represents the estimate results for a single ad group. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupEstimate extends Estimate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdGroupEstimate"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var KeywordEstimate[] - */ - public $keywordEstimates; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $keywordEstimates = null, $EstimateType = null) { - parent::__construct(); - $this->adGroupId = $adGroupId; - $this->keywordEstimates = $keywordEstimates; - $this->EstimateType = $EstimateType; - } - - } -} - -if (!class_exists("AdGroupEstimateRequest", false)) { - /** - * Represents an ad group that will be estimated. Ad groups may be all - * new or all existing, or a mixture of new and existing. Only existing - * campaigns can contain estimates for existing ad groups.

- * - *

To make a keyword estimates request in which estimates do not consider - * existing account information (e.g. historical ad group performance), set both - * {@link #adGroupId} and the enclosing {@link CampaignEstimateRequest}'s - * {@code campaignId} to {@code null}. - * - *

For more details on usage, refer to document at - * {@link CampaignEstimateRequest}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class AdGroupEstimateRequest extends EstimateRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "AdGroupEstimateRequest"; - - /** - * @access public - * @var integer - */ - public $adGroupId; - - /** - * @access public - * @var KeywordEstimateRequest[] - */ - public $keywordEstimateRequests; - - /** - * @access public - * @var Money - */ - public $maxCpc; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($adGroupId = null, $keywordEstimateRequests = null, $maxCpc = null, $EstimateRequestType = null) { - parent::__construct(); - $this->adGroupId = $adGroupId; - $this->keywordEstimateRequests = $keywordEstimateRequests; - $this->maxCpc = $maxCpc; - $this->EstimateRequestType = $EstimateRequestType; - } - - } -} - -if (!class_exists("CampaignEstimate", false)) { - /** - * Represents the estimate results for a single campaign. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignEstimate extends Estimate { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CampaignEstimate"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var AdGroupEstimate[] - */ - public $adGroupEstimates; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupEstimates = null, $EstimateType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->adGroupEstimates = $adGroupEstimates; - $this->EstimateType = $EstimateType; - } - - } -} - -if (!class_exists("CampaignEstimateRequest", false)) { - /** - * Represents a campaign that will be estimated.

- * - * Returns traffic estimates for the requested set of campaigns. - * The campaigns can be all new or all existing, or a mixture of - * new and existing. Only existing campaigns may contain estimates for existing - * ad groups.

- * - * For existing campaigns, the campaign and optionally the ad group will be - * used as context to produce more accurate estimates. Traffic estimates may - * only be requested on keywords, so regardless of whether campaign and ad group - * IDs are provided or left blank, at least one keyword is required to estimate - * traffic.

- * - * To make a keyword estimates request in which estimates do not consider - * existing account information (e.g. historical ad group performance), set - * {@link #campaignId} to {@code null}. - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class CampaignEstimateRequest extends EstimateRequest { - - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const XSI_TYPE = "CampaignEstimateRequest"; - - /** - * @access public - * @var integer - */ - public $campaignId; - - /** - * @access public - * @var AdGroupEstimateRequest[] - */ - public $adGroupEstimateRequests; - - /** - * @access public - * @var Criterion[] - */ - public $criteria; - - /** - * @access public - * @var NetworkSetting - */ - public $networkSetting; - - /** - * @access public - * @var Money - */ - public $dailyBudget; - - /** - * Gets the namesapce of this class - * @return the namespace of this class - */ - public function getNamespace() { - return self::WSDL_NAMESPACE; - } - - /** - * Gets the xsi:type name of this class - * @return the xsi:type name of this class - */ - public function getXsiTypeName() { - return self::XSI_TYPE; - } - - public function __construct($campaignId = null, $adGroupEstimateRequests = null, $criteria = null, $networkSetting = null, $dailyBudget = null, $EstimateRequestType = null) { - parent::__construct(); - $this->campaignId = $campaignId; - $this->adGroupEstimateRequests = $adGroupEstimateRequests; - $this->criteria = $criteria; - $this->networkSetting = $networkSetting; - $this->dailyBudget = $dailyBudget; - $this->EstimateRequestType = $EstimateRequestType; - } - - } -} - -if (!class_exists("TrafficEstimatorService", false)) { - /** - * TrafficEstimatorService - * @package Google_Api_Ads_AdWords_v201402 - * @subpackage v201402 - */ - class TrafficEstimatorService extends AdWordsSoapClient { - - const SERVICE_NAME = "TrafficEstimatorService"; - const WSDL_NAMESPACE = "https://adwords.google.com/api/adwords/o/v201402"; - const ENDPOINT = "https://adwords.google.com/api/adwords/o/v201402/TrafficEstimatorService"; - - /** - * The endpoint of the service - * @var string - */ - public static $endpoint = "https://adwords.google.com/api/adwords/o/v201402/TrafficEstimatorService"; - /** - * Default class map for wsdl=>php - * @access private - * @var array - */ - public static $classmap = array( - "AdxError" => "AdxError", - "ApiError" => "ApiError", - "ApiException" => "ApiException", - "ApplicationException" => "ApplicationException", - "AuthenticationError" => "AuthenticationError", - "AuthorizationError" => "AuthorizationError", - "ClientTermsError" => "ClientTermsError", - "CollectionSizeError" => "CollectionSizeError", - "ComparableValue" => "ComparableValue", - "Criterion" => "Criterion", - "DatabaseError" => "DatabaseError", - "DateError" => "DateError", - "DistinctError" => "DistinctError", - "DoubleValue" => "DoubleValue", - "EntityAccessDenied" => "EntityAccessDenied", - "EntityNotFound" => "EntityNotFound", - "IdError" => "IdError", - "InternalApiError" => "InternalApiError", - "Keyword" => "Keyword", - "Language" => "Language", - "Location" => "Location", - "LongValue" => "LongValue", - "MobileAppCategory" => "MobileAppCategory", - "MobileApplication" => "MobileApplication", - "Money" => "Money", - "NetworkSetting" => "NetworkSetting", - "NotEmptyError" => "NotEmptyError", - "NullError" => "NullError", - "NumberValue" => "NumberValue", - "OperationAccessDenied" => "OperationAccessDenied", - "OperatorError" => "OperatorError", - "Placement" => "Placement", - "Platform" => "Platform", - "Product" => "Product", - "ProductCondition" => "ProductCondition", - "ProductConditionOperand" => "ProductConditionOperand", - "QuotaCheckError" => "QuotaCheckError", - "RangeError" => "RangeError", - "RateExceededError" => "RateExceededError", - "ReadOnlyError" => "ReadOnlyError", - "RegionCodeError" => "RegionCodeError", - "RejectedError" => "RejectedError", - "RequestError" => "RequestError", - "RequiredError" => "RequiredError", - "SizeLimitError" => "SizeLimitError", - "SoapHeader" => "SoapRequestHeader", - "SoapResponseHeader" => "SoapResponseHeader", - "StringLengthError" => "StringLengthError", - "TargetError" => "TargetError", - "CriterionUserInterest" => "CriterionUserInterest", - "CriterionUserList" => "CriterionUserList", - "Vertical" => "Vertical", - "AdxError.Reason" => "AdxErrorReason", - "AuthenticationError.Reason" => "AuthenticationErrorReason", - "AuthorizationError.Reason" => "AuthorizationErrorReason", - "ClientTermsError.Reason" => "ClientTermsErrorReason", - "CollectionSizeError.Reason" => "CollectionSizeErrorReason", - "Criterion.Type" => "CriterionType", - "DatabaseError.Reason" => "DatabaseErrorReason", - "DateError.Reason" => "DateErrorReason", - "DistinctError.Reason" => "DistinctErrorReason", - "EntityAccessDenied.Reason" => "EntityAccessDeniedReason", - "EntityNotFound.Reason" => "EntityNotFoundReason", - "IdError.Reason" => "IdErrorReason", - "InternalApiError.Reason" => "InternalApiErrorReason", - "KeywordMatchType" => "KeywordMatchType", - "LocationTargetingStatus" => "LocationTargetingStatus", - "NotEmptyError.Reason" => "NotEmptyErrorReason", - "NullError.Reason" => "NullErrorReason", - "OperationAccessDenied.Reason" => "OperationAccessDeniedReason", - "OperatorError.Reason" => "OperatorErrorReason", - "QuotaCheckError.Reason" => "QuotaCheckErrorReason", - "RangeError.Reason" => "RangeErrorReason", - "RateExceededError.Reason" => "RateExceededErrorReason", - "ReadOnlyError.Reason" => "ReadOnlyErrorReason", - "RegionCodeError.Reason" => "RegionCodeErrorReason", - "RejectedError.Reason" => "RejectedErrorReason", - "RequestError.Reason" => "RequestErrorReason", - "RequiredError.Reason" => "RequiredErrorReason", - "SizeLimitError.Reason" => "SizeLimitErrorReason", - "StringLengthError.Reason" => "StringLengthErrorReason", - "TargetError.Reason" => "TargetErrorReason", - "CriterionUserList.MembershipStatus" => "CriterionUserListMembershipStatus", - "AdGroupEstimate" => "AdGroupEstimate", - "AdGroupEstimateRequest" => "AdGroupEstimateRequest", - "CampaignEstimate" => "CampaignEstimate", - "CampaignEstimateRequest" => "CampaignEstimateRequest", - "CurrencyCodeError" => "CurrencyCodeError", - "Estimate" => "Estimate", - "EstimateRequest" => "EstimateRequest", - "KeywordEstimate" => "KeywordEstimate", - "KeywordEstimateRequest" => "KeywordEstimateRequest", - "MatchesRegexError" => "MatchesRegexError", - "StatsEstimate" => "StatsEstimate", - "TrafficEstimatorError" => "TrafficEstimatorError", - "TrafficEstimatorResult" => "TrafficEstimatorResult", - "TrafficEstimatorSelector" => "TrafficEstimatorSelector", - "CurrencyCodeError.Reason" => "CurrencyCodeErrorReason", - "MatchesRegexError.Reason" => "MatchesRegexErrorReason", - "TrafficEstimatorError.Reason" => "TrafficEstimatorErrorReason", - "get" => "TrafficEstimatorServiceGet", - "getResponse" => "TrafficEstimatorServiceGetResponse", - ); - - - /** - * 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); - } - /** - * This field is required and should not be {@code null}. - * - * - * - * Returns traffic estimates for specified criteria. - * - * @param selector Campaigns, ad groups and keywords for which traffic - * should be estimated. - * @return Traffic estimation results. - * @throws ApiException if problems occurred while retrieving estimates - */ - public function get($selector) { - $args = new TrafficEstimatorServiceGet($selector); - $result = $this->__soapCall("get", array($args)); - return $result->rval; - } - } -} - diff --git a/src/Google/Api/Ads/Common/Lib/build.ini b/src/Google/Api/Ads/Common/Lib/build.ini index af6698833..5153559fd 100755 --- a/src/Google/Api/Ads/Common/Lib/build.ini +++ b/src/Google/Api/Ads/Common/Lib/build.ini @@ -1,3 +1,3 @@ -LIB_VERSION = 5.6.0 +LIB_VERSION = 5.7.0 LIB_NAME = "Common-PHP" diff --git a/src/Google/Api/Ads/Common/Util/CurlUtils.php b/src/Google/Api/Ads/Common/Util/CurlUtils.php index dcccc6763..baa728532 100755 --- a/src/Google/Api/Ads/Common/Util/CurlUtils.php +++ b/src/Google/Api/Ads/Common/Util/CurlUtils.php @@ -24,19 +24,28 @@ * @copyright 2011, Google Inc. All Rights Reserved. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, * Version 2.0 - * @author Eric Koleda * @author Vincent Tsao */ /** * A collection of utility methods for working with cURL. + * * @package GoogleApiAdsCommon * @subpackage Util */ class CurlUtils { /** - * Creates a new cURL session with the default options applied. + * Creates a new cURL session with the following default options applied. Use + * {@link #SetOpt} to change them. Proxy and SSL options should be set in the + * settings.ini file since they are more commonly configured options. + * + * CURLOPT_FOLLOWLOCATION - true, unless open_basedir is set. + * CURLOPT_HEADER - false. + * CURLOPT_RETURNTRANSFER - true. + * CURLOPT_ENCODING - 'gzip'. + * CURLOPT_USERAGENT - 'curl, gzip'. + * * @param string $url the URL of the resource to connect to * @return the cURL handle for the new session */ @@ -44,9 +53,9 @@ public function CreateSession($url) { $ch = $this->Init($url); // Default options. - $this->SetOpt($ch, CURLOPT_FOLLOWLOCATION, TRUE); - $this->SetOpt($ch, CURLOPT_HEADER, FALSE); - $this->SetOpt($ch, CURLOPT_RETURNTRANSFER, TRUE); + $this->SetOpt($ch, CURLOPT_FOLLOWLOCATION, empty(ini_get('open_basedir'))); + $this->SetOpt($ch, CURLOPT_HEADER, false); + $this->SetOpt($ch, CURLOPT_RETURNTRANSFER, true); $this->SetOpt($ch, CURLOPT_ENCODING, 'gzip'); $this->SetOpt($ch, CURLOPT_USERAGENT, 'curl, gzip'); @@ -68,7 +77,7 @@ public function CreateSession($url) { $this->SetOpt($ch, CURLOPT_SSL_VERIFYPEER, SSL_VERIFY_PEER); } else { // Default to disabled, for backwards compatibility. - $this->SetOpt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); + $this->SetOpt($ch, CURLOPT_SSL_VERIFYPEER, false); } if (defined('SSL_VERIFY_HOST') && SSL_VERIFY_HOST != '') { if (SSL_VERIFY_HOST) { @@ -76,10 +85,10 @@ public function CreateSession($url) { // host in the request. $this->SetOpt($ch, CURLOPT_SSL_VERIFYHOST, 2); } else { - $this->SetOpt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); + $this->SetOpt($ch, CURLOPT_SSL_VERIFYHOST, false); } } else { - $this->SetOpt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); + $this->SetOpt($ch, CURLOPT_SSL_VERIFYHOST, false); } if (defined('SSL_CA_PATH') && SSL_CA_PATH != '') { $this->SetOpt($ch, CURLOPT_CAPATH, SSL_CA_PATH); @@ -95,7 +104,7 @@ public function CreateSession($url) { * Wraps the global curl function * {@link http://php.net/manual/en/function.curl-init.php}. */ - public function Init($url = NULL) { + public function Init($url = null) { return curl_init($url); } diff --git a/src/Google/Api/Ads/Common/Util/DeprecationUtils.php b/src/Google/Api/Ads/Common/Util/DeprecationUtils.php index b0d43b8f1..c7aa74033 100755 --- a/src/Google/Api/Ads/Common/Util/DeprecationUtils.php +++ b/src/Google/Api/Ads/Common/Util/DeprecationUtils.php @@ -86,24 +86,6 @@ public static function CheckUsingClientLoginWithUnsupportedVersion( } } - /** - * Checks to see if returnMoneyInMicros can be used. Throws an error if it - * cannot be used. - * - * @param string $finalVersion the final API version that supports - * returnMoneyInMicros - * @param string $requestedVersion the API version being used - * @throws ServiceException if the requested version does not support - * returnMoneyInMicros - */ - public static function CheckUsingReturnMoneyInMicrosWithUnsupportedVersion( - $finalVersion, $requestedVersion) { - if ($requestedVersion > $finalVersion) { - throw new ServiceException(sprintf("returnMoneyInMicros is not supported " - . "in version %s.", $requestedVersion)); - } - } - /** * Checks to see if skipReportHeader or skipReportSummary can be used. * Throws an error if it cannot be used. diff --git a/src/Google/Api/Ads/Dfp/Lib/DfpUser.php b/src/Google/Api/Ads/Dfp/Lib/DfpUser.php index 6f35d2fb9..1389b6486 100755 --- a/src/Google/Api/Ads/Dfp/Lib/DfpUser.php +++ b/src/Google/Api/Ads/Dfp/Lib/DfpUser.php @@ -60,9 +60,6 @@ class DfpUser extends AdsUser { private $libVersion; private $libName; - private $defaultVersion; - private $defaultServer; - private $email; private $password; private $applicationName; @@ -121,8 +118,8 @@ public function __construct($authenticationIniPath = NULL, $email = NULL, $apiProps = ApiPropertiesUtils::ParseApiPropertiesFile(dirname(__FILE__) . '/api.properties'); $versions = explode(',', $apiProps['api.versions']); - $this->defaultVersion = $versions[count($versions) - 1]; - $this->defaultServer = $apiProps['api.server']; + $defaultVersion = $versions[count($versions) - 1]; + $defaultServer = $apiProps['api.server']; if (isset($authenticationIniPath)) { $authenticationIni = @@ -157,8 +154,8 @@ public function __construct($authenticationIniPath = NULL, $email = NULL, } $this->loadSettings($settingsIniPath, - $this->defaultVersion, - $this->defaultServer, + $defaultVersion, + $defaultServer, getcwd(), dirname(__FILE__)); } diff --git a/tests/Google/Api/Ads/Common/Util/DeprecationUtilsTest.php b/tests/Google/Api/Ads/Common/Util/DeprecationUtilsTest.php index df0ad6b34..293fc0c57 100755 --- a/tests/Google/Api/Ads/Common/Util/DeprecationUtilsTest.php +++ b/tests/Google/Api/Ads/Common/Util/DeprecationUtilsTest.php @@ -100,21 +100,6 @@ public function "v201311", "v201403"); } - /** - * @expectedException ServiceException - */ - public function - testCheckUsingReturnMoneyInMicrosWithUnsupportedVersion_UsingUnsupportedVersion() { - DeprecationUtils::CheckUsingReturnMoneyInMicrosWithUnsupportedVersion('v201402', 'v201406'); - } - - public function - testCheckUsingReturnMoneyInMicrosWithUnsupportedVersion_UsingWithAnyVersion() { - - DeprecationUtils::CheckUsingReturnMoneyInMicrosWithUnsupportedVersion('v201402', 'v201402'); - DeprecationUtils::CheckUsingReturnMoneyInMicrosWithUnsupportedVersion('v201402', 'v201309'); - } - /** * @expectedException ServiceException */